Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Eclipse Python We development Environment
#1
Hi There,

I am a newbie to python and I am learning as fast as I can and trying to solve as many problems as I encounter before soliciting help.I am trying to set up a python(3.6 windows installed) web development environment on Eclipse IDE and I am not too sure how to proceed with the following :

1.How to install django
2.How to install Postgresql -do I need to use a server like wamp. 
3.I know I can install the pydev through the install option in eclipse .
4.With regards to virtual environment I have already installed it and I know how to activate and deactivate it from the command prompt when I want to create a project.

I am particularly confused with regards to using a server such as Wamp. Don't I need to use a server which is compatible with django and postgresql because previously I was using xampp for php and mysql.

I appreciate this question might seem trivial but I have tried to look up so many tutorials most of them are outdated 2013.I would really appreciate your help because I want to setup the environment so I can simultaneously learn HTML,CSS,Python,Postgresql and work on a project instead of working separately.

Thank you 

Adelton
Quote
#2
Try google:
First one: https://docs.djangoproject.com/en/1.10/topics/install/
Quote
#3
Since 3 and 4 don't seem to be questions, I'll address 1 and 2

1) from the command terminal, type "pip install django" (without the quotes) then press ENTER
2a) Go to the Postgresql website and download the version for Windows and follow the installation instructions https://www.postgresql.org/download/windows/
2b) No, you do not need a full fledged server for either django or Postgresql, in fact, django has a "mini-server" for development purposes.  If you plan on eventually running it on a real site, then you would want to use a proper server such as Apache or equivalent.  You can refer to django's documents on how to setup and use the Postgrsql (or other database).  According to the django docs, your also going to need the Psycopg module.  the Windows version can be acquired here http://www.lfd.uci.edu/~gohlke/pythonlibs/ (make sure you get the latest version and for your OS).

Good luck and don't hesitate to ask if you have further questions.
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.2, freeBSD 11;Python 3.6, IDE: PyCharm 2016 Community Edition
Quote
#4
I would like to thank you both for your solutions which have helped me gain a better understanding of the installation process with eclipse.I just wanted to ask if I wanted to use a server like xampp(need to configure http.conf with cgi or mod_wsgi in apache module so I can use python ) to run the site and I am assuming the installation process would be different .I have searched for this different setup and I saw that I need to download and install Postgresql in the following folder C:\xampp and I need to do the same for Django.I would really appreciate if you could please clarify if this is correct.

Thank you

Adelton
Quote

Top Page

Forum Jump:


Users browsing this thread: 1 Guest(s)