-
Notifications
You must be signed in to change notification settings - Fork 9
First Time Setup
FreneticScribbler edited this page Jul 1, 2024
·
9 revisions
The steps to setup the new system are as follows
- Install Pipenv, NPM and Gulp
- Clone the repo, cd into it
- 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 tosudo apt install libcairo2-dev libjpeg-dev libgif-dev
pipenv install
npm install && gulp build
-
python manage.py migrate && python manage.py generateSampleData
to populate the database
From then on you can run pipenv shell
and then npx 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.