diff --git a/README.md b/README.md index b0f50ba..09b0dd3 100644 --- a/README.md +++ b/README.md @@ -115,7 +115,7 @@ docker run -it \ ``` See [here](https://docs.gunicorn.org/en/stable/design.html#async-workers) for more information about design considerations for these gunicorn settings. -#### Pitfalls & Gotchas to Remeber +#### Pitfalls & Gotchas to Remember - If you run this on a cloud service and run an upgrade on everything out of date for security reasons, you may need to run `sudo service docker stop` and then `sudo service docker start` to get docker going again. You'll also have to find the docker container that you had last running and restart it. - If you run the docker container as described above, remember to try the URL of your service with the proper port at the end of the URL. @@ -123,6 +123,8 @@ and then `sudo service docker start` to get docker going again. You'll also have #### Using Local Python With the requirements installed and the model files in place, you can now run the service with python locally. In the command below, substitute `models/test` with the path to your models directory. For example, if you followed the example from [With Bucket Access](#with-bucket-access), it will be `models/10_23_2019`. + +If running locally you may get a permissions error as in the above container example - in this case, for example of a unix ubuntu EC2 on AWS user and group would need to be set to ubuntu. ``` export MODELS_DIR=models/test; \ python service/app.py