File tree 4 files changed +7
-3
lines changed
4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ app/static/dev
15
15
# Packages
16
16
* .egg
17
17
* .egg-info
18
- build /
19
18
eggs
20
19
bin
21
20
sdist
Original file line number Diff line number Diff line change 11
11
virtualenv -p /usr/local/bin/python3 venv && \
12
12
. venv/bin/activate && \
13
13
make deps
14
+
14
15
deps :
15
16
pip install -r requirements.txt
16
17
23
24
test :
24
25
py.test tests
25
26
27
+ local :
28
+ source venv/bin/activate && ./manage.py runserver
29
+
26
30
dev :
27
- source venv/bin/activate && uwsgi --ini uwsgi-dev .ini --py-autoreload 1
31
+ source venv/bin/activate && uwsgi --ini uwsgi.ini --py-autoreload 1
28
32
29
33
prod :
30
34
source venv/bin/activate && uwsgi --ini uwsgi.ini
Original file line number Diff line number Diff line change
1
+ # Flask and ReactJS Boilerplate
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python
2
2
import os
3
3
4
- from app import create_app
4
+ from app import create_app
5
5
6
6
env = os .environ .get ("app_ENV" , "prod" )
7
7
app = create_app ("app.settings.%sConfig" % env .capitalize (), env = env )
You can’t perform that action at this time.
0 commit comments