Skip to content

Commit 16f16d1

Browse files
committed
Readme and makefile
1 parent f227582 commit 16f16d1

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ app/static/dev
1515
# Packages
1616
*.egg
1717
*.egg-info
18-
build/
1918
eggs
2019
bin
2120
sdist

Makefile

+5-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ env:
1111
virtualenv -p /usr/local/bin/python3 venv && \
1212
. venv/bin/activate && \
1313
make deps
14+
1415
deps:
1516
pip install -r requirements.txt
1617

@@ -23,8 +24,11 @@ lint:
2324
test:
2425
py.test tests
2526

27+
local:
28+
source venv/bin/activate && ./manage.py runserver
29+
2630
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
2832

2933
prod:
3034
source venv/bin/activate && uwsgi --ini uwsgi.ini

readme.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Flask and ReactJS Boilerplate

uwsgi.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python
22
import os
33

4-
from app import create_app
4+
from app import create_app
55

66
env = os.environ.get("app_ENV", "prod")
77
app = create_app("app.settings.%sConfig" % env.capitalize(), env=env)

0 commit comments

Comments
 (0)