Commit Graph

22 Commits

Author SHA1 Message Date
Andreas Zweili 0a8e74110f add a cronjob to trigger the currency updates 2018-01-13 09:37:38 +01:00
Andreas Zweili 852751bc27 Merge branch 'frontendstyling' into andreas 2018-01-13 08:29:31 +01:00
Andreas Zweili fef0526bc9 create the path /srv/media/images in the Vagrant vm
This is necessary due to permissions problems. If apache server
creates the directory the django server looses permission to write in
it. This is only a problem during development in production apache is
the only running webserver.
2017-12-31 15:22:00 +01:00
Andreas Zweili 559f77545d move the media root and add support for MEDIA_URL 2017-12-31 15:09:26 +01:00
Andreas Zweili 7247681ebb readd two commands
I removed the lines by accident they broke the apache configuration
2017-12-30 19:01:04 +01:00
Ivan Hörler dc083d9c5e Merge branch 'currency' into frontendstyling
* currency: (25 commits)
  changed view and deleted the database unique filed
  add tableview in /currencies
  checkout the production branch on the production server
  add a registration
  disable debugging for production
  add a user profile
  extend the base template with login, profile and logout links
  add templates to support user authentication
  add url patterns to support user authentication
  remove an unnecessary shebang
  remove unnecessary attributes from the Person model
  redirect logins back to the index
  make imports more explicit
  remove an unnecessary configuration
  remove an old file
  change the article status to active
  change the content include because the org-mode file is called doku
  add a python package to the ansible role
  add fixtures with test data
  Add date to currencies list
  ...

# Conflicts:
#	Vagrantfile
#	ansible/roles/web_AI-5/tasks/main.yml
#	django/didgeridoo/didgeridoo/settings.py
#	django/didgeridoo/webshop/templates/webshop/base.html
2017-12-29 19:43:16 +01:00
Andreas Zweili 6ddd869722 add fixtures with test data 2017-12-27 19:33:29 +01:00
Ivan Hörler cea3252322 add bootstrap to ansible and vagrant for django-bootstrap3 support 2017-12-27 19:32:14 +01:00
Andreas Zweili 2b8f41725c fix a typo 2017-12-25 22:50:42 +01:00
Andreas Zweili 16a854012d move some parts from the vagrant file into a separate script
This way both vagrant and ansible can use the script
2017-12-25 22:47:04 +01:00
Andreas Zweili bba1bde937 add the Pillow module to allow image uploads 2017-12-06 20:32:24 +01:00
Andreas Zweili a3ffae1ad3 add django-extensions for generating the diagrammes 2017-12-03 17:00:57 +01:00
Andreas Zweili 8fbbb1740a remap the ports of the vagrant vm 2017-11-18 09:44:14 +01:00
Andreas Zweili fef4946823 add some default data into the database 2017-11-14 21:26:14 +01:00
Andreas Zweili 180736411c add a default admin 2017-11-13 22:48:01 +01:00
Andreas Zweili 484df9fc25 add django migration command to the vagrant vm 2017-11-12 21:41:05 +01:00
Andreas Zweili 9bf2f2282b add sql files to create and remove the database 2017-11-04 08:36:39 +01:00
Andreas Zweili 57e05550e4 add the apache config to the repo 2017-11-03 16:48:43 +01:00
Andreas Zweili bee86e3591 add the mysqlclient package to the vagrant setup 2017-11-01 17:16:55 +01:00
Andreas Zweili beee1dcd8d fix the vagrant sync 2017-10-29 20:27:02 +01:00
Andreas Zweili 3d7d9dc940 update the vagrant file 2017-10-29 17:02:57 +01:00
Andreas Zweili 226fdd960c add a vagrant file 2017-10-20 23:54:13 +02:00