readme for sample server
This commit is contained in:
parent
09f58dc6cb
commit
8ecd1bca34
17
sample-server/README
Normal file
17
sample-server/README
Normal file
@ -0,0 +1,17 @@
|
||||
# Sample Server
|
||||
|
||||
## Requirements
|
||||
|
||||
- [nginx](https://www.nginx.com/resources/wiki/start/topics/tutorials/install/): On macos with homebrew, `brew install nginx`
|
||||
- [uwsgi](https://uwsgi-docs.readthedocs.io/en/latest/Install.html): With python, `pip install uwsgi`.
|
||||
- pipenv and honcho: If you have the regular atst dependencies installed, you already have pipenv and honcho
|
||||
|
||||
## Run
|
||||
|
||||
The sample server runs at localhost:8000, so you cannot have another copy of the app running on that port.
|
||||
|
||||
Start both NGINX and uWSGI with honcho:
|
||||
|
||||
```
|
||||
pipenv run honcho start -f sample-server/Procfile
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user