Skip to content
This repository has been archived by the owner on Mar 20, 2021. It is now read-only.
/ Windermere Public archive

semi-protected content management for the Windermere Consortium researchers

Notifications You must be signed in to change notification settings

uniphil/Windermere

Repository files navigation

DONT'T forget to set secret key env variable bargh...

for deployment on nginx, we can d x-accel-redirect

$ gunicorn xaccel:xapp

see more in deploy-configs

remember to leave off the trailing slash for app.config[UPLOAD_DIR]

tricky dependencies:

  • python imaging (preferably pillow)
  • libjpeg

Set up

  1. initialize the database

  2. set up an admin user (mkphil)

  3. reset admin password

  4. init the contributor key

  5. import content from backup

  6. set up contact form email destinations

  7. set up the server with the config in deploy-configs

  8. enable the app to start up on boot sudo update-rc.d windermere defaults

  9. export all necessary further configs (see website/__init__.py)

  10. install postfix

updating

  • switch user to windermere
  • always source ~/.config.sh

upgrading the database

flask-migrate doesn't handle package apps correctly, so you must use an absolute path the the db for the SQLITE_DATABASE_URL environment config.

but then it's easy

./manage.py db upgrade

About

semi-protected content management for the Windermere Consortium researchers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published