Getting Started
- Activate the virtual environment:
source blockchain-env/bin/activate
- Install all packages:
pip3 install -r requirements.txt
- Running Tests
python3 -m pytest tests/
- Run the application and API
Make sure to activate the virtual environment.
python -m backend.app
Running a Peer Instance
Make sure to activate the virtual environment.
export PEER=True && python -m backend.app
Run the Front-End
In the frontend directory:
npm run start
Seed the backend with data
export SEED_DATA=True && python3 -m backend.app