Skip to content
This repository was archived by the owner on Dec 24, 2021. It is now read-only.

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.

Prerequisites

  1. 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.
  2. Ensure that you have a suitable IDE installed. The recommended IDE for this project is JetBrains PyCharm.
  3. Clone the GitHub repository.

Setup Guide

  1. 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 you cd into the correct directory where the repository is. For example: cd C:\Users\User\Documents\GitHub\rango
  2. Using pip, install virtualenv 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 a not on PATH warning, then add the directory shown to the PATH environment variable.
  3. Create the virtual environment with Python 3.7: python -m virtualenv --python python37 rangoenv.
  4. 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.
  5. To check which Python version is installed: python --version.

Clone this wiki locally