Skip to content

Commit 0f4a8d2

Browse files
committed
updated README
1 parent ed7351a commit 0f4a8d2

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

‎README.md‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ Otherwise use DB_URI or DB_*. DB_URI takes precedence:
2323

2424
| Section | Variable Name | Default | Details |
2525
| --- | --- | --- | --- |
26+
| Flask | | | |
27+
| | CREATE_FLASK_DB | true | Automatically create database tables for app. Won't overwrite your DB when container is restarted based on presence of /var/www/flask/.bootstrap |
28+
| User Info | | | |
29+
| | PROJECT_NAME | Flask Template | Name you would like to show up in the templates |
30+
| | USER_EMAIL | contact@example.com | Email to provide in the `contact` link (`mailto:$USER_EMAIL`) |
2631
| Server | | | |
2732
| | SERVER_NAME | '_' | Nginx 'server_name' directive. |
2833
| Mail | | | |
@@ -41,9 +46,3 @@ Otherwise use DB_URI or DB_*. DB_URI takes precedence:
4146
| | DB_PORT | | Port of DB |
4247
| | DB_TYPE | | Type of database, 'mysql' or 'postgresql'. Optional if DB port is standard mysql (3306) or postgres (5432) port |
4348

44-
## Flask
45-
* CREATE_FLASK_DB : use `python manage.py ...` commands to make databases with SQLAlchemy. Defaults to `false`. Set to `true` to enable.
46-
47-
## User Info
48-
* PROJECT_NAME : Name you would like to show up in the templates
49-
* USER_EMAIL : Email to provide in the `contact` link (`mailto:$USER_EMAIL`)

0 commit comments

Comments
 (0)