-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #59 from stuartmaxwell/dev
- Loading branch information
Showing
5 changed files
with
5 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,3 @@ | ||
# stuartm.nz | ||
|
||
The code for my stuartm.nz website. | ||
|
||
## Requirements | ||
|
||
- Django | ||
- Postgres | ||
- Whitenoise | ||
- Gunicorn | ||
|
||
## Installation | ||
|
||
1. t.b.d. | ||
|
||
## Usage | ||
|
||
- Standard Django app | ||
|
||
## Configuration | ||
|
||
Rename `env.template` to `.env` and configure the following settings: | ||
|
||
| Env Name | Env Value | | ||
| ------------------- | -------------------------------------------------------------------------------------------------- | | ||
| SECRET_KEY | The Django secret key to add to the `settings.py` file. | | ||
| DEBUG | Ensure this is set to `False` in production. | | ||
| ALLOWED_HOSTS | List of allowed hosts, e.g. `example.com,www.example.com`. | | ||
| EMAIL_HOST | Name or IP address of the SMTP server. | | ||
| EMAIL_PORT | The port of the SMTP server. | | ||
| EMAIL_HOST_USER | The username to authenticate with the SMTP server. | | ||
| EMAIL_HOST_PASSWORD | The password for the SMTP server username. | | ||
| EMAIL_USE_TLS | Either `True` or `False` to use TLS. | | ||
| DEFAULT_FROM_EMAIL | The email address to send emails from . | | ||
| DB_ENGINE | The database engine to use. | | ||
| DB_NAME | The database name to connect to. If using SQLite, this will be the filename without the extension. | | ||
| DB_HOST | Name or IP address of the database server. | | ||
| DB_PORT | The port of the database server. | | ||
| DB_USER | The username to authenticate with the database server. | | ||
| DB_PASSWORD | The password for the database server username. | | ||
| WHITENOISE_STATIC | Boolean value that turns on Whitenoise for serving static content. | | ||
| ADMIN_URL | The path to the Admin site so it can be hidden from easily being guessed. | |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.