This was originally written to serve
http://mihi.lo-res.org/, but is now generalized to make it easier to create personalized memorial sites, which allow online communities to come together and celebrate a lost one.
If you're in a position in which you need this, first of all: I'm sorry. This sucks. Thanks for doing this anyway.
online condolence book
- relatively painless image upload with dropzone.js
- account-less content submissions and image upload, via django sessions
- approval process: all content on the site needs to be approved by admins
- video and link submissions
- main page is cached by default
- optional "message to the family" field, which will not be published
- print stylesheet
- generalize for other people to use (change to example content)
- import bake-to-static code from other repo
NICE TO HAVE:
- prettier slider, maybe multiple images side-by-side (move away from bootstrap carousel for this)
python manage.py createsuperuser
Detail pages have an "accept" button, if not acceptable then delete
The canonical forms of assets are stored in the
static directory to enable less->css compilation and js minification.
The compiled versions are checked in, but if you need to customize things, you'll need the
It needs to be installed using NPM (which has its own dependencies. This was in the app template originally used for this, so: sorry).
Install all this by navigating to the project root directory and running
To recompile assets, make sure you've created the
static/src/images/person.png file exists (you can just
touch it for testing purposes) and run
npm run-script build
For asset development, run
npm run-script watch
Read more in the
Make sure you have all requirements for the python
pillow library installed.
pip install -r requirements.txt ./manage.py collectstatic --noinput ./manage.py migrate ./manage.py runserver
Navigate to the
/admin URL in your installation and create an instance of
Site to customize the page title used for browser tabs.
mysite/templates/_footer.html to the
templates folder and customize them there.
static/src/images/background.pngto suit your needs (see ASSETS above for details).
Add an image to
static/src/images/person.png (for example).
Django deployment guides exist. Make sure to create a
local_settings.py (possibly by copying settings.py), configuring a proper™ database™ and setting a new
Let me know if you need help.