2026-03-15 23:16:24 +00:00
|
|
|
# myriad
|
|
|
|
|
|
2026-03-16 01:39:00 +00:00
|
|
|
flask app for plurals to publicly share member lists
|
|
|
|
|
|
|
|
|
|
# dev set up
|
|
|
|
|
|
2026-03-16 01:39:43 +00:00
|
|
|
- after cloning, run `py -3 -m venv .venv` in the root directory and then `.venv\Scripts\activate`
|
|
|
|
|
- then `pip install Flask` inside the virtual env
|
|
|
|
|
- you might also need to init a database, so use `flask --app myriad init-db`
|
2026-03-16 13:11:56 +00:00
|
|
|
- to start the site use `flask --app myriad run --debug`
|
|
|
|
|
|
|
|
|
|
# prod set up
|
|
|
|
|
|
|
|
|
|
- not ready yet
|
|
|
|
|
|
|
|
|
|
# config
|
|
|
|
|
|
2026-03-17 02:01:14 +00:00
|
|
|
- create `config.py` in the instance folder and customise the following settings to your needs
|
|
|
|
|
|
2026-03-16 13:11:56 +00:00
|
|
|
```
|
2026-03-17 02:01:14 +00:00
|
|
|
REGISTRATION: False # only set to True if in a development situation, or to create your first user
|
2026-03-17 03:49:38 +00:00
|
|
|
UPLOAD_FOLDER = 'myriad/static/icons'
|
2026-03-17 02:01:14 +00:00
|
|
|
ALLOWED_EXTENSIONS = {'png', 'jpg', 'jpeg', 'gif'}
|
2026-03-16 13:11:56 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
# usage
|
|
|
|
|
|
|
|
|
|
- the software here is free to use, and there's no requirement to link back
|
|
|
|
|
- edit the styles and functionality to suit your needs. i'm sure some of you out there are far better with CSS than I am
|
|
|
|
|
|
|
|
|
|
# dependencies
|
|
|
|
|
|
|
|
|
|
- Flask
|