|
|
5 päivää sitten | |
|---|---|---|
| myriad | 5 päivää sitten | |
| .gitignore | 5 päivää sitten | |
| README.md | 5 päivää sitten |
flask app for plurals to publicly share member lists
py -3 -m venv .venv in the root directory and then .venv\Scripts\activatepip install Flask inside the virtual envflask --app myriad init-dbflask --app myriad run --debugdo not deploy this way, the packaged flask server is not secure. production instructions will be provided when the project is ready
.venv\Scripts\activate from the folder every time you start working on itflask --app myriad init-db (losing all the data inside) will be necessary as development continues. DO NOT STORE ANYTHING IMPORTANT DURING DEVELOPMENTflask --app myriad run --debug as usualconfig.py in the instance folder and customise the following settings to your needsREGISTRATION = 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'