Nikola Kotur bc70abed40 docs: updated running information | il y a 9 ans | |
---|---|---|
bin | il y a 10 ans | |
conf | il y a 9 ans | |
database | il y a 10 ans | |
db_repository | il y a 10 ans | |
phosic | il y a 10 ans | |
static | il y a 10 ans | |
templates | il y a 10 ans | |
tests | il y a 10 ans | |
.gitignore | il y a 10 ans | |
Procfile | il y a 10 ans | |
README.md | il y a 9 ans | |
db_create.py | il y a 10 ans | |
db_downgrade.py | il y a 10 ans | |
db_migrate.py | il y a 10 ans | |
db_upgrade.py | il y a 10 ans | |
flask_app.py | il y a 10 ans | |
main.py | il y a 10 ans | |
requirements.txt | il y a 10 ans |
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.