A website featuring a cloud drive and an online shop.
433
an online shop and a cloud drive using SQLite, Flask as the backend and the Bootstrap framework to ameliorate the appearance of the frontend.
docker build -t nut_cloud .docker run -it --rm --name my-running-app --mount source=nut_cloud_volume,target=/usr/src/app/instance -p 80:5000 nut_cloudpip install nut-cloud$ export FLASK_APP="nut_cloud"$ $env:FLASK_APP="nut_cloud"$ flask init-db (Only needed on the first time running nut_cloud)$ flask run$ python -c 'import nut_cloud; nut_cloud.create_app().run()'
You need to configure the SECRET_KEY, WEBHOOK_SECRET_KEY and the HOSTNAME yourself!
You can put a config.py in the app instance folder to configure these settings.
You can configure your WEBHOOK_SECRET_KEY to match the secret key of Github Webhooks,
then you can use Systemd to monitor file changes under {instance path}/restart/ and
restart the uwsgi server each time any file is changed.
Simplified Chinese
Copyright (c) 2018-2019 Chijun Sima, Yixue Zhong
Licensed under the MIT License.
Content type
Image
Digest
Size
332.6 MB
Last updated
about 6 years ago
docker pull nutshellysima/nut_cloud:debug-linux