File tree 2 files changed +9
-3
lines changed
2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -64,10 +64,12 @@ __View and edit entry of journal__
64
64
How to run
65
65
----------
66
66
67
- ### Developed mode
67
+ ### Development mode
68
68
69
69
Install [ Python 3] ( https://www.python.org/ )
70
70
71
+ Install [ PosgreSQL] ( https://www.postgresql.org/ )
72
+
71
73
Install dependencies
72
74
73
75
``` bash
@@ -78,6 +80,7 @@ pipenv install --dev
78
80
Create DB (once)
79
81
80
82
``` bash
83
+ createdb -U postgres -O < username> tabular_notes
81
84
pipenv run ./manage.py migrate
82
85
```
83
86
Original file line number Diff line number Diff line change @@ -2,17 +2,20 @@ version: '3'
2
2
3
3
services :
4
4
app :
5
- container_name : tabular-notes_app
5
+ container_name : tabular-notes-app
6
6
build : .
7
+ image : phpusr/tabular-notes
7
8
restart : unless-stopped
8
9
environment :
9
10
- DEBUG=False
10
11
- DATABASE_URL=postgres://tabular_notes:passw0rd@db:5432/tabular_notes
12
+ ports :
13
+ - 8001:8000
11
14
depends_on :
12
15
- db
13
16
14
17
db :
15
- container_name : tabular-notes_db
18
+ container_name : tabular-notes-db
16
19
image : postgres:11.5-alpine
17
20
restart : unless-stopped
18
21
environment :
You can’t perform that action at this time.
0 commit comments