File tree 1 file changed +14
-1
lines changed
1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,20 @@ LAMa can be reached under `localhost:8888`.
29
29
After the initial setup only steps 3, 5 are necessary.
30
30
31
31
## Production Setup
32
- - TODO
32
+ > Important! first start without volumes line <br >
33
+ > ` - ./mail_templates:/lama/templates/mails `
34
+
35
+ - copy ` docker-compose.prod.yml ` to your favorite directory
36
+ - comment line ` - ./mail_templates:/lama/templates/mails `
37
+ - ` docker-compose up -d `
38
+ - ` docker cp <dir>_lama_1:/lama/templates/mails ./mail_templates `
39
+ - ` docker-compose down ` and uncumment line ` - ./mail_templates:/lama/templates/mails `
40
+ - ` docker-compose up -d `
41
+ - Jump into the running container: ` docker-compse exec lama sh `
42
+ - Make migrations: ` python3 manage.py makemigrations account_helper `
43
+ - Make migrations: ` python3 manage.py migrate account_helper `
44
+ - Create superuser: ` python3 manage.py createsuperuser `
45
+ - Update copied templates (files or in gui under ` Einstellungen ` with the super admin account)
33
46
34
47
35
48
## Used Libraries
You can’t perform that action at this time.
0 commit comments