A website featuring a cloud drive and an online shop.
Project description
nut_cloud
an online shop and a cloud drive using SQLite, Flask as the backend and the Bootstrap framework to ameliorate the appearance of the frontend.
Usage
The first time
pip install nut-cloud-
- For Linux/macos/BSDs:
$ export FLASK_APP="nut_cloud" - For Windows Powershell:
$ $env:FLASK_APP="nut_cloud"
- For Linux/macos/BSDs:
$ flask init-db(Only needed on the first time running nut_cloud)$ flask run
Later
$ python -c 'import nut_cloud; nut_cloud.create_app().run()'
CAUTION
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.
Auto deploy
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.
Language
Simplified Chinese
License
Copyright (c) 2018-2019 Chijun Sima, Yixue Zhong
Licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nut_cloud-20.3.1.tar.gz.
File metadata
- Download URL: nut_cloud-20.3.1.tar.gz
- Upload date:
- Size: 375.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff58a64538b0e604336db146d2d3ebf107166c7e505b5a9f70956ad940b7ee72
|
|
| MD5 |
dc9b2420753506e9f8d94d016904f6b4
|
|
| BLAKE2b-256 |
b20ad7896d5d9715eb9950fc8d2f4fe7a6690185a726f2270f4cd6cdd15b16cf
|
File details
Details for the file nut_cloud-20.3.1-py3-none-any.whl.
File metadata
- Download URL: nut_cloud-20.3.1-py3-none-any.whl
- Upload date:
- Size: 389.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b57d8b5865998a9ccade74a355a9e02573f4f63581a709975ff9ccdefaa64f7
|
|
| MD5 |
4d84ecb43f4b3786e0bbf529037e5ac9
|
|
| BLAKE2b-256 |
c4acc58240613659e5674e2e78ab43687256a1df583b86a1a4b00e43e9bc88b5
|