Set up your virtual environment. The easiest way to do this is with the following command:
python -m venv .venv
This will establish a virtual environment in the .venv folder. In order to do this you will need python3
and python3-venv
installed.
Activate the virtual environment:
(On Linux):
source .venv/bin/activate
(On Windows):
.venv\Scripts\activate.bat
Install the requirements:
pip install -r requirements.txt
On Linux, in order to do this you will need python3-pip
installed.
Set up the database:
python manage.py makemigrations
python manage.py migrate
Create a superuser:
python manage.py createsuperuser
Node.JS is required to build the customer site.
Run build-customer
in a terminal in order to build.
python manage.py runserver