Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pbansal
Test-Docker
Commits
9a7c8996
Commit
9a7c8996
authored
Aug 19, 2019
by
isillitoe
Browse files
tidy up
parent
752ea691
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
9a7c8996
...
...
@@ -38,7 +38,7 @@ Note: PostgreSQL is used as the deployment database (which will also need to be
### Install virtual environment
```
```
bash
python3
-m
venv venv
.
venv/bin/activate
pip
install
-e
.
...
...
@@ -46,20 +46,20 @@ pip install -e .
### Run tests
```
pytest
```
bash
python3
-m
pytest
```
### Create a unique secret key
```
sh
```
ba
sh
cd
cathsm-server
&&
source
venv/bin/activate
date
|
md5sum
>
secret_key.txt
```
### Update the local database
```
sh
```
ba
sh
cd
cathsm-server
&&
source
venv/bin/activate
python3 manage.py makemigrations
python3 manage.py migrate
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment