Note: all commands are using
bash. You may have to adjust some commands for other shell environments.
1. Create a new virtualenv
mkvirtualenv -p /usr/local/bin/python3 pyar # Your python3 may be installed in a different location. # Use `which python3` to find out where it is located
You only have to do this once. Later, you can activate your environment using
workon pyar, and you can quit your environment using
2. Install dependencies
pip install -r requirements.txt
3. Create a local_settings.py file (optional)
If you need to override any of the values in
settings.py (namely for production), you'll have to create a
Then, the you can copy any settings from
local_settings.py to override the values.
4. Run the site
Visit http://localhost:5000 to test the site.