📜 ⬆️ ⬇️

Instructions for deploying a full-fledged environment for joint remote development with Django in Windows. For absolute beginners.

The article does not claim to be universal, but the article is a workable instruction on how to develop the environment “from scratch” to the stage “we write the first line of code”. The comments accept tips and recommendations for improving the instructions.

1. Install and configure Python.

To install Python, it's clear, firstAn optional, but recommended step is to set the PATH environment variable, this is necessary so that you do not have to type extra control words on the command line when managing a project.where "C: \ Python25" is the root directory of the installed Python.
')

2. Installing Django.

Here, again, firstThe necessary tools are deployed, now it's up to the development environment.


3. Installing Eclipse.

Everything is simple here, you can download Eclipse from http://www.eclipse.org/downloads, the installation will not be difficult.


4. Install and configure PyDev.

Having Eclipse installed on our hands, we can install a plugin for it to develop in Python - his name is PyDev.Now you need to configure PyDev.Well, do not forget to press OK.


Next are optional items for setting up a version control system and creating a repository in the WEB for remote collaborative development.


5. Creating a repository (on the hosting of google projects).

To do this, just for everything, you need to fill out a questionnaire at http://code.google.com/hosting/createProject, being logged in with your Gmail account.


6. Install and configure SubVersion.

To work with SubVersion, or version control system, for Eclipse there is a plug-in SubEclipse. To install itNow the system must be configured to the repository created in step five. For this,The repository address is visible on the page of your project on the hosting of Google projects, in the Source tab. This is a string like "https: // <project name> .googlecode.com / svn / trunk /".The login here is the name of the account in Gmail, and you will need to generate the password by clicking on the link "When prompted, enter your generated googlecode.com password.". It is located on the same page of your project, in the same Source tab.




Well that's all.

The instructions used the material of the article http://twiki.falkolab.ru/bin/view/Python/SettingUpEclipse .

Source: https://habr.com/ru/post/42971/


All Articles