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 May 16, 2021
·
10 revisions
The following steps are intended for Windows. The setup for Unix-based systems may be slightly different.
If you're returning to an already setup environment, just follow step 4 in the Setup Guide to activate it.
- 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 JetBrains PyCharm.
- Clone the GitHub repository.
- Open a terminal prompt and navigate to the repository which you have cloned from the GitHub repository. Replace
User
with the username for your Windows account. Just make sure that youcd
into the correct directory where the repository is. For example:cd C:\Users\User\Documents\GitHub\rango
- Using
pip
, installvirtualenv
which 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 PATH
warning, then add the directory shown to thePATH
environment variable. - Create the virtual environment with Python 3.7:
python -m virtualenv --python python37 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. - To check which Python version is installed:
python --version
.