- nginx 1.18.0
- redis-server 6.0.16
- mariadb-server 10.6.12(optional, mysql/sqlite are also supported)
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- gridjs
- simplemde
- mark-down article, including code syntax highlight.
- photo gallery with thumbnail, auto aligned to fit window width.
- file browser, support file multiple upload by dropping or selecting.
- favorite hyperlink with categories.
- redis session support for multiple workers.
- easy to use by flasky script with command: init|debug|run|deploy|cron|test|clean|addusr|delusr|backup|restore.
- log every view url access with real ip address, and authentication information.
-
database suport
- mysql/mariadb/sqlite
-
Usage
- Initialization, including database creation and add administrator.
bash flasky.sh init --mail_address EMAIL_ADDRESS --mail_password EMAIL_PASSWORD
You could also manually create, migrate and upgrade database, by using flask migration utility.
flask db init flask db migrate flask db upgrade
- Debug application.
bash flasky.sh debug
- Run application.
bash flasky.sh run
- Deploy application.
bash flasky.sh deploy
- Add cron job for backup and synchronization.
bash flasky.sh cron
- Test application.
bash flasky.sh test
- Clean on the repository.
bash flasky.sh clean
- Add a user.
bash flasky.sh addusr --username USERNAME --password PASSWORD --mail_address [email protected]
- Delete a user.
bash flasky.sh delusr --username USERNAME
- Backup database.
bash flasky.sh backup
- Restore database.
bash flasky.sh restore