Skip to content

Commit

Permalink
add note about testing client build locally
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinhughes27 committed Dec 18, 2017
1 parent 882a42b commit 7ac73ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Server Setup
4. Create your database by running `python server/cli.py init_db` and then seed it with `python server/cli.py seed`
5. You can inspect the server responses at `http://localhost:5000/api/weeks/1` and `http://localhost:5000/api/stats` etc.

On production the python server serves a static build of the client. This can be tested locally by running yarn build and then visiting localhost:5000.
On production the python server serves a static build of the client. This can be tested locally by running yarn build and then visiting localhost:5000 (note that you need to run the server from inside the server folder or the relative path to the client won't work. e.g. `cd server && python app.py`)


Client Setup
Expand Down

0 comments on commit 7ac73ee

Please sign in to comment.