Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/boreq/nya
A simple file upload website.
https://github.com/boreq/nya
Last synced: about 1 month ago
JSON representation
A simple file upload website.
- Host: GitHub
- URL: https://github.com/boreq/nya
- Owner: boreq
- Created: 2014-12-07T22:11:15.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2023-02-25T22:18:45.000Z (over 1 year ago)
- Last Synced: 2024-04-16T02:21:59.464Z (7 months ago)
- Language: Python
- Homepage:
- Size: 71.3 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nya
A simple website for uploading files.## How to install
I recommend using [virtualenv][virtualenv].cd cloned_nya_repository
pip install ./## How to test it
If you just want to check things out you can run the Flask development server,
but you should not use it for deployment as it is unsafe. You have to go through
configuration step first.cd cloned_nya_repository
FLASK_APP=nya_app.py flask run## How to deploy
[Official Flask deployment documentation][flask_deploy].
An object which should be passed to your WSGI server is created in `nya_app.py`
and called `app` so you will probably have to use something like this in your
config:nya_app:app
## Configuration
Read comments in `nya/__init__.py` and `nya/settings.py`. To keep it short:
you need to specify the path to the file similar to `nya/settings.py` in
environment variable called `NYA_SETTINGS`.Either redis or memcached is needed to run the website. Depending on your
choice one of two optional dependencies listed in `setup.py` needs to be
installed.[virtualenv]: https://virtualenv.pypa.io/en/latest/
[flask_deploy]: http://flask.pocoo.org/docs/dev/deploying/