Doc: Add new option and clarify requirements
@@ -9,6 +9,8 @@ A *mostly* functional simple pypi service running on AWS.
This is a limitation of AWS API Gateway. You will have to find other ways to upload your packages to the S3 bucket.
+Running `serverless wsgi` locally allows uploads to work.
+
**Cannot browse with a browser**
This is a limitation of current browsers. They have removed basic authentication for remote urls via the url (e.g. x:y@z). `WWW-Authenticate` responses do not work with AWS Lambda.
@@ -25,6 +27,7 @@ This is a limitation of current browsers. They have removed basic authentication
"service": "serverless-service-name", // your serverless service name
"stage": "/dev", // The slash is important as it becomes part of the url in the templates
"bucket": "your-bucket-name", // the bucket you want packages stored in
+ "table": "you-pypi-packages-table", // the dynamodb table
"profile": "your-aws-profile", // AWS profile for serverless
"username": "standard", // basic auth
"password": "something-secretive", // basic auth
@@ -39,6 +42,9 @@ This is a limitation of current browsers. They have removed basic authentication
1. `yarn`
1. `sls deploy`
+
+**Note** that when deploying do not have the virtualenv activated. The `wsgi` pluging for serverless will automatically fetch the python requirements.
+
# Using
Based on the output of the deploy command or via the AWS console add the url to your pip conf.
