First Time Setup - nottinghamtec/PyRIGS GitHub Wiki

The steps to setup the new system are as follows

  1. Install Pipenv, NPM and Gulp
  2. Clone the repo, cd into it
  3. Install the dependencies for one of our python libraries (psycopg) by running sudo apt install libpq-dev python3.9-dev or your distro's equivalent. You may also need to sudo apt install libcairo2-dev libjpeg-dev libgif-dev
  4. pipenv install
  5. npm install && gulp build
  6. python manage.py migrate && python manage.py generateSampleData to populate the database

From then on you can run pipenv shell and then gulp watch to activate a live reloading development server. The livereload should also pickup on any JS/SCSS changes and automatically build them for you.