Commit Graph

10 Commits

Author SHA1 Message Date
d3b057e14e Work on settings.py 2018-12-02 16:10:10 +02:00
541adb4f2a Integrated django_dynamic_preferences for setting management. 2018-12-01 17:28:37 +02:00
0a2d62b001 Improve error handling for settings. Instead of failing with an exception, an alert is displayed on the main page when something isn't set properly. 2018-11-09 13:40:48 +02:00
Brandon
a5de3bf6cb
Changed based on feedback in chibicitiberiu/ytsm#27 2018-11-08 17:25:00 -08:00
1fafd859b7 Fixed docker image. Fixed issue with environment variable interpolation (on Linux, it is case sensitive, so converting to lowercase was bad. Cleaned up directory structure. 2018-11-02 02:25:15 +02:00
1701cddbe9 Added some additional variables for DATA and CONFIG 2018-11-01 01:07:11 +02:00
fc59989405 Improved settings.py to read the global settings from the .ini file. 2018-11-01 01:01:21 +02:00
e230f1524f Modified database engine to sqlite3 which is the default. 2018-10-31 23:45:05 +02:00
Brandon
baaf9577da Environment Variables and Docker standalone support (#21)
* Ignore .dist folder used by visual studio code

* Add example env file

* Added environment variables

* Ignore env file

* Added default name to be ytmanager instead

* Default to postgres

* Update example env for postgres instead of sqlite

* Added default as postgres as well in settings

* Add volume for sqlite3 database storage (incase desired)

* Added example env file for sqlite3 configuration

* whitespace for sanity of my own

* Add database_url as an optional env variable

* hopefully working towards chibicitiberiu/ytsm#6

* Added default command

* Expose 8000

* Added environment variable prefixes

* added environment variable to parse for dj_database_url

* Take out command in docker-compose since it's already in the Dockerfile as a cmd

* SQLite as default

* Create Docker README with information about how to run with Docker

* Took out postgres. If people desire it, they can add it themselves.

* Took out db depenednecy for docker-compose

* Change cmd

* Fixed up commands to run better in readme

* Added underscore to Docker_README

* Change default .db file location
2018-10-31 17:57:32 +02:00
Jett Jackson
84b0c2e861
Added docker support 2018-10-30 14:15:49 +08:00