-
Create a Pipenv environment and install Python dependencies:
pipenv install --dev
-
Install JavaScript dependencies:
npm install
-
Create and fill out file with local configuration variables:
cp shrew/env.dev.example shrew/.env
(alternatively you can set those settings as environment variables)
-
Run database migrations:
pipenv run ./manage.py migrate
-
Create database table for keeping caches:
pipenv run ./manage.py createcachetable
-
Create the admin account:
pipenv run ./manage.py createsuperuser
-
Start the development server:
pipenv run ./manage.py runserver