Blog Stats
- 120,258 hits
My Tech Notebook
Content:
1. Configuring django and python in eclipse and ubuntu
2. Creation of python project
3. Starting python server
Configuring django and python in eclipse and ubuntu
1. Install eclipse with pydev
2. Install django $ sudo apt-get install python-django
3. Check installation of django via command $ django-admin.py –version
4. Now copy django from var>>lib>>python-support>>python2.7>>django to usr>>local>>lib>>python2.7>>dist-packages
5. Restart eclipse
6. Create new django project
7. You can also create new project as $ django-admin startproject project_name
8. Set up the database
9. Run $ python manage.py syncdb to set up all tables
10. Run $ python manage.py runserver to start server
11. Go to http://localhost:8000/ to see django powered page
12. If apache is running stop it by gksudo /etc/init.d/apache2 stop
13. You can start apache by gksudo /etc/init.d/apache2 start
Changing default ip address of django server
If something else is already using port 8000 on your computer, if you’re not allowed to run programs that
bind to that port, or if you want to view pages served by Django’s development server from another computer,
you’ll need to manually specify the address and port to use when you launch the development server. You
accomplish this using the syntax python manage.py runserver ip_address:port_number.
For example, to listen on all of your computer’s available IP addresses (so that other computers can
view pages from the development server) and bind to port 9000 instead of 8000, you could type python
manage.py runserver 0.0.0.0:9000 (0.0.0.0 is a special address that means “listen on all available
IP addresses”).
Add this to your arsenal today: SEOPressor plugin.
philippine popstar coolest guy in the philippines
cheap tv heya,
just found you on google. Good write-up, I was just thinking around something comparable. May start out blogging myself! Cheers cheap televisions
Really great article with very interesting information. You might want to follow up to this topic
oh neat, this answers is definitely helpful and without a doubt is thoughts suitable! hehe. I’m going to watch if I will be able to have a shot at to utilize most of these details for my own personal blog page. Bless you!
Thank you for this interesting write-up, i’ll bookmark this page
Want to exchange the trackbacks?
Hello guys, outstanding website, Thank you rather substantially for the information and facts I really appreciate it!!
Terrific Article about hide my ip address linked proxy conversations. I personally am into the hide my ip address organisation my own self.
john
Would you be enthusiastic about exchanging hyperlinks?
Fantastically revealing cheers, I presume your current visitors would possibly want a whole lot more articles of this nature preserve the great content.
Superb post, loads of fine information. I am going to show my girlftriend and ask them the points they think.
You could definitely see your expertise in the paintings you write. The sector hopes for even more passionate writers such as you who aren’t afraid to mention how they believe. At all times go after your heart.
You must participate in a contest for the most effective blogs on the web. IЎЇll suggest this website!
INteresting informations, thanks for sharing
e6ZSbS dijwdjertvgt, [url=http://wowkiwpxplus.com/]wowkiwpxplus[/url], [link=http://rvstdojhywin.com/]rvstdojhywin[/link], http://qleuiuztlmur.com/
I really like your writing style, decent info, thank you for posting
Particularly insightful appreciate it, I presume your current subscribers would most likely want more weblog posts similar to this keep up the remarkable effort.
This actually answered the drawback, thank you!
Pretty interesting information !Perfect just what I was looking for!
Really great article with very interesting information. You might want to follow up to this topic
I really fondness the matter to you shared. Thank you pro rearrangement.
An fascinating discussion is designer observe. I opine that you should create more on this matter, it power not be a taboo person but mostly people are not sufficiency to mouth on such topics. To the next. Cheers like your Django my notes 1 Roshan Book.
An intriguing treatment is designer notice. I conceive that you should correspond more on this substance, it might not be a bias content but mostly group are not enough to talk on much topics. To the next. Cheers like your Django my notes 1 Roshan Book.
An exciting speech is worth account. I suppose that you should make much on this matter, it might not be a sacred soul but generally fill are not sufficiency to verbalise on specified topics. To the succeeding. Cheers like your Django my notes 1 Roshan Book.
In contrast I??m complications finding the site showing the right way with my current firefox browser, any specific idea for what exactly may just be creating the problem???
Did eBay suspend your account? I got suspended for no purpose! I dropped all my earnings, my business had been online centered. I had to discover a solution. At the end I am back for real.
Fantastic blog post thought it was really handy and truthful