Commit f15f989dd08ea23f3d4a46a492c0ce178edd9115
Exists in
master
Merge branch 'master' of git.ucsd.edu:110swag/flashy-backend
Showing 1 changed file Inline Diff
README.md
View file @
f15f989
Flashy requires Python 2. Srsly | 1 | 1 | Flashy requires Python 2. Srsly | |
2 | 2 | |||
All of these commands should be run from this directory (the one containing README.md) | 3 | 3 | All of these commands should be run from this directory (the one containing README.md) | |
4 | 4 | |||
Virtualenv for Windows creates a dir inexplicably named scripts rather than bin. So substitute venv/bin for venv/scripts if you are on Windows. | 5 | 5 | Virtualenv for Windows creates a dir inexplicably named scripts rather than bin. So substitute venv/bin for venv/scripts if you are on Windows. | |
6 | 6 | |||
Install virtualenv before continuing. This is most easily accomplished with: | 7 | 7 | Install virtualenv before continuing. This is most easily accomplished with: | |
8 | 8 | |||
pip install virtualenv | 9 | 9 | pip install virtualenv | |
10 | 10 | |||
Set up the environment by running: | 11 | 11 | Set up the environment by running: | |
12 | 12 | |||
scripts/setup.sh | 13 | 13 | scripts/setup.sh | |
14 | 14 | |||
If you get errors about a module not being found, make sure you are working in the virtualenv. To enter the venv: | 15 | 15 | If you get errors about a module not being found, make sure you are working in the virtualenv. To enter the venv: | |
16 | 16 | |||
. venv/bin/activate | 17 | 17 | . venv/bin/activate | |
18 | 18 | |||
If you still get errors about a module not being found, make sure your virtualenv is up to date. Re-run: | 19 | 19 | If you still get errors about a module not being found, make sure your virtualenv is up to date. Re-run: |