-
Notifications
You must be signed in to change notification settings - Fork 17
/
readme.txt
26 lines (15 loc) · 830 Bytes
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Instructions for running locally on MacOS with Python 3.7:
1. Create a virtualenv using `python3 -m venv .`
2. Activate the virtualenv with `. bin/activate`
3. Install pip-tools using: `pip install pip-tools`
4. Run `pip-compile --output-file requirements.txt requirements.in && pip install -r requirements.txt`. This generates the requirements.txt file from the requirements.in file. If this doesn't work, try upgrading setuptools.
5. If not already installed, install Homebrew: https://brew.sh/.
6. Run `brew update`
7. Install Redis locally on your mac: `brew install redis`
8. Start redis locally using: `brew services start redis`
Start server:
python django_for_startups/manage.py runserver
Run tests:
python django_for_startups/manage.py test
Check for outdated root dependencies:
python scripts/list_outdated.py