Skip to content
This repository was archived by the owner on Jan 8, 2022. It is now read-only.

Commit 2905d77

Browse files
author
GeoXd
committed
update README.md to handle app initialisation
1 parent 2d6dfc4 commit 2905d77

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,14 @@ $ export ADMIN_GENERATE_DATA=True # Creates minimal test data
3737
$ export DEFAULT_TEST_ACCOUNT_LOGIN=True # Disables end-user authentication
3838
~~~
3939

40+
Initialise App
41+
~~~
42+
from application import create_app
43+
app = create_app()
44+
from app.initialise import initialise
45+
initialise(app)
46+
~~~
47+
4048
Run Flask
4149
~~~
4250
$ export FLASK_APPLICATION="application.py"

0 commit comments

Comments
 (0)