Commit 9a7c8996 authored by isillitoe's avatar isillitoe
Browse files

tidy up

parent 752ea691
...@@ -38,7 +38,7 @@ Note: PostgreSQL is used as the deployment database (which will also need to be ...@@ -38,7 +38,7 @@ Note: PostgreSQL is used as the deployment database (which will also need to be
### Install virtual environment ### Install virtual environment
``` ```bash
python3 -m venv venv python3 -m venv venv
. venv/bin/activate . venv/bin/activate
pip install -e . pip install -e .
...@@ -46,20 +46,20 @@ pip install -e . ...@@ -46,20 +46,20 @@ pip install -e .
### Run tests ### Run tests
``` ```bash
pytest python3 -m pytest
``` ```
### Create a unique secret key ### Create a unique secret key
```sh ```bash
cd cathsm-server && source venv/bin/activate cd cathsm-server && source venv/bin/activate
date | md5sum > secret_key.txt date | md5sum > secret_key.txt
``` ```
### Update the local database ### Update the local database
```sh ```bash
cd cathsm-server && source venv/bin/activate cd cathsm-server && source venv/bin/activate
python3 manage.py makemigrations python3 manage.py makemigrations
python3 manage.py migrate python3 manage.py migrate
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment