Skip to content

Making a Local Version of the Site

kianmehrabani edited this page Oct 26, 2017 · 9 revisions

---Last updated on 2017-10-26---

Steps to get the site up and running locally.

For the first time:

  • Check out the project from GitHub and navigate to the root project directory

  • Conda environment: install conda, and then use the environment.yml:

    conda env create -f environment.yml

  • No need for requirements.txt as a result

  • HAS to be Django 1.9.2: "conda install django==1.9.2"

  • TODO -- Add Django 1.9.2 to the environment.yml file

  • Also now because we merged the hamza-khan branch, do:

    pip install django-autocomplete-light

Then for every time:

  • Run "source activate rmg_env" or whatever you named your Conda environment
  • Let it load and then: python manage.py runserver and navigate to 127.0.0.1:8000
  • Do NOT run anything as super-user