Skip to content

Commit

Permalink
tweak readme with pointers
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrej Karpathy committed Mar 30, 2020
1 parent 9d2ed54 commit 341d550
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,13 @@ This project follows a previous one of mine in spirit, [arxiv-sanity](https://gi
As this is a flask app running it locally is straight forward. First compute the database with `run.py` and then serve:

```
$ pip install -r requirements.txt
$ python run.py
$ export FLASK_APP=serve.py
$ flask run
```

To deploy in production I recommend NGINX and Gunicorn. After configuring NGINX in your environment something like

```
$ gunicorn3 --workers=3 serve:app --access-logfile -
```

will do the trick.

To deploy in production I recommend NGINX and Gunicorn. [Linode](https://www.linode.com/) is one easy/cheap way to host the application on the internet and they have [detailed tutorials](https://www.linode.com/docs/development/python/flask-and-gunicorn-on-ubuntu/) one can follow.

## License

Expand Down

0 comments on commit 341d550

Please sign in to comment.