Skip to content

Commit

Permalink
Edits to reflect new app.yaml requirements regarding the CloudSQL soc…
Browse files Browse the repository at this point in the history
…ket connections (#466)
  • Loading branch information
jfburkhart authored and Jon Wayne Parrott committed Aug 19, 2016
1 parent 1188a74 commit 7fa979f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions appengine/flexible/django_cloudsql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,21 @@ which deploys to version 1, and `promote` makes version 1 the default version.

Now you can view the admin panel of your deployed site at https://<your-app-id>.appspot.com/admin.

### Production

Once you are ready to serve your content in production, there are several
changes required for the configuration. Most notable changes are:
* Add ".appspot.com" to your `ALLOWED_HOSTS`
* Change the `DEBUG` variable to `False` in your settings.py file.
* If you are using a Cloud SQL database
instance, in order to change from `DEBUG = True`
to `DEBUG = False` you will need to properly configure the database. See
instructions
[here](https://cloud.google.com/sql/docs/app-engine-connect#gaev2-csqlv2) and be
sure to change your `app.yaml` file as well as the `HOST` key in your
`DATABASES` object.


## Contributing changes

* See [CONTRIBUTING.md](CONTRIBUTING.md)
Expand Down

0 comments on commit 7fa979f

Please sign in to comment.