Use conda to install requirements.
conda env create -f env.yml
conda activate bdc
Make sure you are in your bdc conda env, or have installed the requirements with pip. First set some environment variables.
# linux
$ export FLASK_ENV=development
# windows
$ set FLASK_ENV=development
Now run the backend server.
$ cd backend
$ flask run
Make sure you have NodeJs 14.3.0 (12.16.3 should also work). If you installed the conda env then you have already installed nodejs.
$ cd frontend
# install dependencies
$ npm install
# serve with hot reload at localhost:3000
$ npm run dev
The frontend is automatically built and served after every push to master. It can be found here.
Currently the backend is being hosted on a google compute engine server. To update the app make sure you have access to the server. To update and start the backend.
$ cd /home/bdc
$ sudo git pull
$ sudo docker-compose up --build -d