a bunch of updates CHECK CONFIG

This commit is contained in:
cube
2026-05-08 20:20:20 +01:00
parent 23b0819079
commit 8520ad6777
11 changed files with 153 additions and 12 deletions

View File

@@ -10,6 +10,26 @@ the blinkies and stamps stuff is literally just because i want an easy way to up
make sure blinkies are actually blinkie-sized, and stamps are likewise stamp-sized. too much variation in size will make the layout weird. there's not validation because its designed just to make uploading the images not require ftp + manual code as i had been doing before.
# Config
this is how your config should look at the latest update
```
REGISTRATION = True # Make sure to disable in production
ICON_UPLOAD_FOLDER = 'myriad/static/icons' # where member icons will be stored
BLINKIES_UPLOAD_FOLDER = 'myriad/static/blinkies' # where blinkies will be stored
STAMPS_UPLOAD_FOLDER = 'myriad/static/stamps' # where stamps will be stored
MISC_UPLOAD_FOLDER = 'myriad/static/misc' # where misc image uploads will be stored
THEMES_FOLDER = 'myriad/static/themes' # all the theme css files are here
TMP_FOLDER = 'myriad/static/tmp' # required for exports
SYSTEM_NAME = 'Myriad' # will be shown in the title bar
PAGES_NAME = 'Read More...' # will be shown in the nav bar if using custom pages
SECRET_KEY = "dev" # CHANGE THIS - see wiki for details
```
most likely if you get an error after updating, you need to make sure your config has all the fields as sampled above. we may have added something that you now need.
# A note on data export/import
there are currently various ways to export and import data for use within myriad. individual member exports and imports deal only with the fields (though icons, stamps, and blinkies can be exported to a zip folder). they're designed to be used with an active database for whatever purpose the user requires.