basic member blogs
still trying to figure out how to maximize customisability (html & css) of member pages as much as how we have them on neocities
This commit is contained in:
16
README.md
16
README.md
@@ -24,17 +24,15 @@ do not deploy this way, the packaged flask server is not secure. production inst
|
||||
- create `config.py` in the instance folder and customise the following settings to your needs
|
||||
|
||||
```
|
||||
REGISTRATION = True
|
||||
ALLOWED_EXTENSIONS = {'png', 'jpg', 'jpeg', 'gif'}
|
||||
ICON_UPLOAD_FOLDER = 'myriad/static/icons'
|
||||
BLINKIES_UPLOAD_FOLDER = 'myriad/static/blinkies'
|
||||
STAMPS_UPLOAD_FOLDER = 'myriad/static/stamps'
|
||||
REGISTRATION = True # Make sure to disable in production
|
||||
ALLOWED_EXTENSIONS = {'png', 'jpg', 'jpeg', 'gif'} # Can be anything you want
|
||||
ICON_UPLOAD_FOLDER = 'myriad/static/icons' # where member icons will be stored
|
||||
BLINKIES_UPLOAD_FOLDER = 'myriad/static/blinkies' # where site assets "blinkies" will be stored
|
||||
STAMPS_UPLOAD_FOLDER = 'myriad/static/stamps' # where site assets "stamps" will be stored
|
||||
INLINE_UPLOAD_FOLDER = 'myriad/static/inline' # where site assets "misc inline" will be stored
|
||||
MISC_UPLOAD_FOLDER = 'myriad/static/misc' # where other small images will be stored
|
||||
```
|
||||
|
||||
- registration should only be set to True in a development situation (in production set it to False one you have set up your administration account). this would mean that anyone can make an account and edit your system
|
||||
- feel free to adjust allowed file extensions however you choose
|
||||
- upload folders don't need to be changed
|
||||
|
||||
# usage
|
||||
|
||||
- the software here is free to use, and there's no requirement to link back
|
||||
|
||||
Reference in New Issue
Block a user