Nikola Kotur bc70abed40 docs: updated running information | hace 9 años | |
---|---|---|
bin | hace 10 años | |
conf | hace 9 años | |
database | hace 10 años | |
db_repository | hace 10 años | |
phosic | hace 10 años | |
static | hace 10 años | |
templates | hace 10 años | |
tests | hace 10 años | |
.gitignore | hace 10 años | |
Procfile | hace 10 años | |
README.md | hace 9 años | |
db_create.py | hace 10 años | |
db_downgrade.py | hace 10 años | |
db_migrate.py | hace 10 años | |
db_upgrade.py | hace 10 años | |
flask_app.py | hace 10 años | |
main.py | hace 10 años | |
requirements.txt | hace 10 años |
Simple web service to join mp3 file and a picture using Flask, ffmpeg, Celery, SQLite and Redis.
In development mode, create virtual environment and install requirements.txt
with pip, and then create the database:
./db_create.py
./db_upgrade.py
After that just use the script in bin
folder to run it:
./bin/run.sh
Now you can access the website at http://localhost:8000
To run phosic in production see conf
directory for nginx configuration and
supervisord units.