Download zip Select Archive Format
Name Last Update history
File dir flashcards Loading commit data...
File dir flashy Loading commit data...
File dir nginxconf Loading commit data...
File dir schedule_scraper Loading commit data...
File dir scripts Loading commit data...
File dir templates Loading commit data...
File txt .gitignore Loading commit data...
File txt .gitmodules Loading commit data...
File txt README.md Loading commit data...
File txt flashy.ini Loading commit data...
File txt manage.py Loading commit data...
File txt requirements.txt Loading commit data...

README.md

Flashy requires Python 2. Srsly

All of these commands should be run from this directory (the one containing README.md)

Install virtualenv before continuing. This is most easily accomplished with:

pip install virtualenv

Set up the environment by running:

scripts/setup.sh

If you get errors about a module not being found, make sure you are working in the virtualenv. To enter the venv:

. venv/bin/activate

If you still get errors about a module not being found, make sure your virtualenv is up to date. Re-run:

scripts/setup.sh

Run tests:

scripts/run_tests.sh

Run development server (local):

python manage.py runserver
scripts/run_local.sh

This requires that flashy-backend be in the directory as flashy-frontend.