A React application based on datawheel-canon
that provides a framework for teaching high school students how to code.
- Clone the repo
git clone https://github.com/Datawheel/codelife.git
- Install dependencies
cd codelife
npm i
- Set environment variables
export CANON_LANGUAGES=en,pt
export CANON_LANGUAGE_DEFAULT=pt
export CANON_LOGINS=true
export CANON_DB_USER=dbUser
export CANON_DB_NAME=codelife
export CANON_DB_PW=MyPassWerd
export CANON_DB_HOST=1.2.3.4
export CANON_LOGREDUX=false
exoirt CANON_LOGLOCALE=false
- Run dev version of site
npm run dev
- Bask in glory (visit localhost:3300 in your browser)
http://localhost:3300/