This repository was archived by the owner on Dec 24, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Setting up the Development Environment for this project
Chris Kane edited this page Apr 14, 2021
·
10 revisions
The following steps are intended for Windows. The setup for Unix-based systems may be slightly different.
- Ensure that you have a version of Python 3 installed - preferably the latest version. Just make sure that your environment has at least a Python 3.5, as the latest versions of Django are not compatible with older versions of Python 3.
- Ensure that you have a suitable IDE installed. The recommended IDE for this project is PyCharm Community.
- Clone the GitHub repository.
- Open a terminal prompt and navigate to the repository which you have cloned from the GitHub repository. Replace
Userwith the username for your Windows account. Just make sure that youcdinto the correct directory where the repository is. For example:cd C:\Users\User\Documents\GitHub\rango - Using
pip, installvirtualenvwhich is a package for managing virtual environments in Python.py -m pip install --user virtualenv. Note: If on running this command successfully, you get anot on PATHwarning, then add the directory shown to thePATHenvironment variable. - Create the new virtual environment:
mkvirtualenv rangoenv. - Initialise the virual environment:
py -m venv rangoenv. - Activate the virtual environment:
.\rangoenv\Scripts\activate. You should now see the name of the virtual environment(rangoenv)to the left of the working directory in the terminal.