Skip to content

boreq/nya

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nya

A simple website for uploading files.

How to install

I recommend using 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.
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.

About

A simple file upload website.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published