Skip to content

Commit

Permalink
Merge branch 'dev' into fix-responsiveness
Browse files Browse the repository at this point in the history
  • Loading branch information
lukesanantonio committed Apr 6, 2021
2 parents 4c0d379 + b6b8a19 commit f934d92
Show file tree
Hide file tree
Showing 3 changed files with 243 additions and 122 deletions.
13 changes: 13 additions & 0 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,22 @@ settings for development. Create a new file in the same directory as the setting
file called `dev_settings.py` and make it contain the following:

```
import os

# Show debug info
DEBUG = True
CRISPY_FAIL_SILENTLY = False
# "Send" email text to the terminal used to start server
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
# Upload files to the local directory
DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'

# Disable forcing SSL
SECURE_PROXY_SSL_HEADER = None
SECURE_SSL_REDIRECT = False

# Personal / dev API keys go here
GOOGLE_PICKER_API_KEY = 'XXX'
```

In order to view custom error pages such as the 404 page, you need to set DEBUG to False.
Expand Down Expand Up @@ -74,6 +83,10 @@ Now initialize a local SQLite database:

$ python manage.py migrate

Create an admin user to play around with:

$ python manage.py createsuperuser

And finally run the server and test:

$ python manage.py runserver
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@
"precss": "^4.0.0",
"sass-loader": "^8.0.2",
"webpack-bundle-analyzer": "^3.6.1",
"webpack-cli": "^3.3.11"
"webpack-cli": "^4.5.0"
}
}
Loading

0 comments on commit f934d92

Please sign in to comment.