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 Apr 14, 2021 · 10 revisions

The following steps are intended for Windows. The setup for Unix-based systems may be slightly different.

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 PyCharm Community.
  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 new virtual environment: mkvirtualenv rangoenv.
  4. Initialise the virual environment: py -m venv rangoenv.
  5. 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.
Clone this wiki locally