Final project for CS194-131/DES INV 190-1: Designing Technology to Counter Violent Extremism.
This guide assumes you have Node and Python 3 installed. The Yarn package manager, while not required, is recommended: you can use npm wherever this guide uses Yarn.
Our backend runs on the Python framework Django. Backend code lives in the cve_webserver
directory.
Using a virtual environment is highly recommended to keep dependencies consistent across the team. In the project root directory, run
virtualenv venv
source ./venv/bin/activate
pip3 install -r requirements.txt
to set up a virtual environment and install all existing dependencies.
Our frontend runs on React, using the create-react-app scaffolding. The React app is in the cve_client
folder.
To install dependencies, switch to the cve_client
folder, and run:
yarn # this is the equivalent of running npm install