Sen descrición

Nikola Kotur bc70abed40 docs: updated running information %!s(int64=9) %!d(string=hai) anos
bin 57c7338bfe app: added celery worker %!s(int64=10) %!d(string=hai) anos
conf 8bf4df6113 conf: added the rest of server configuration %!s(int64=9) %!d(string=hai) anos
database 19873f6d6d app: task fixes %!s(int64=10) %!d(string=hai) anos
db_repository 33f282c638 app: production updates %!s(int64=10) %!d(string=hai) anos
phosic 1c866a6730 app: fixed horizontal resolution %!s(int64=10) %!d(string=hai) anos
static 45edf586ee html: contact page %!s(int64=10) %!d(string=hai) anos
templates 12811aa32a html: removed rabbitmq, added redis %!s(int64=10) %!d(string=hai) anos
tests cdbaabbf9e Initial skeleton. %!s(int64=10) %!d(string=hai) anos
.gitignore 57c7338bfe app: added celery worker %!s(int64=10) %!d(string=hai) anos
Procfile cdbaabbf9e Initial skeleton. %!s(int64=10) %!d(string=hai) anos
README.md bc70abed40 docs: updated running information %!s(int64=9) %!d(string=hai) anos
db_create.py 57c7338bfe app: added celery worker %!s(int64=10) %!d(string=hai) anos
db_downgrade.py 57c7338bfe app: added celery worker %!s(int64=10) %!d(string=hai) anos
db_migrate.py 57c7338bfe app: added celery worker %!s(int64=10) %!d(string=hai) anos
db_upgrade.py 57c7338bfe app: added celery worker %!s(int64=10) %!d(string=hai) anos
flask_app.py c8e79abaca app: added debug toolbar %!s(int64=10) %!d(string=hai) anos
main.py 68224a8237 app: fixing missing config %!s(int64=10) %!d(string=hai) anos
requirements.txt 92febbbea1 app: added redis requirement %!s(int64=10) %!d(string=hai) anos

README.md

Phosic

Simple web service to join mp3 file and a picture using Flask, ffmpeg, Celery, SQLite and Redis.

How to run it?

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

Production

To run phosic in production see conf directory for nginx configuration and supervisord units.