Open Sonictherocketman opened 9 years ago
Currently the values for settings are hard coded into the microblogger.py file.
Break these options out into their own settings file and make a script to read and write these values.
DEBUG = True CACHE = '/tmp/microblog/' SETTINGS = os.path.expanduser('~/.microblogger_settings.json') ROOT_DIR = '/var/www/microblogger/' {{ more to come}}
Also need to break out the settings management into its own manager (see cachemanager).
Added settings manager. External settings file still not supported.
Config script handles the settings now. Defaults included. Do we still want a settings file? How would it be reloaded?
Currently the values for settings are hard coded into the microblogger.py file.
Break these options out into their own settings file and make a script to read and write these values.
Also need to break out the settings management into its own manager (see cachemanager).