The application is in two parts: client
and server
. The client is a React application. The server is written using Django.
The value $ROOT_DIR
refers to the directory containing this file.
~$ cd $ROOT_DIR/client
- Install Yarn: https://classic.yarnpkg.com/en/docs/install/#mac-stable
Yarn version: 1.22.4 Node version: 14.5.0 NPX version: 6.14.5
- Install application dependencies
~$ yarn
- Run application
~$ yarn start
Python version: 3.8.3
~$ cd $ROOT_DIR/server
- Create virtualenv
~$ python3.8 -m venv .
- Activate virtualenv
~$ source ./bin/activate
- Install dependencies
~$ pip install -r requirements.txt
- Run migrations
~$ python manage.py migrate
- Run application
~$ python manage.py runserver
There is no session caching to allow easy local testing of different user accounts.