Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/corydolphin/boilerflask-numpy-ffmpeg
Boilerflask branch with numpy and ffmpeg support
https://github.com/corydolphin/boilerflask-numpy-ffmpeg
Last synced: 19 days ago
JSON representation
Boilerflask branch with numpy and ffmpeg support
- Host: GitHub
- URL: https://github.com/corydolphin/boilerflask-numpy-ffmpeg
- Owner: corydolphin
- Created: 2013-02-27T15:57:55.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-02-27T16:53:53.000Z (almost 12 years ago)
- Last Synced: 2023-03-23T11:43:38.726Z (almost 2 years ago)
- Language: Python
- Size: 191 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
BoilerFlask + ffmpeg
============A simple boilerplate Flask application with support for ffmpeg and numpy.
This example uses the (somewhat old) python-ffmpeg-buildpack. Future support should use .vendor_urls and multibuildpack to reference the most up to date heroku-python-buildpack.Instructions
------------
To deploy this application after cloned, simply:$ heroku create --buildpack git://github.com/integricho/heroku-buildpack-python-ffmpeg.git
$ heroku config:add BUILDPACK_URL=git://github.com/integricho/heroku-buildpack-python-ffmpeg.gitYou may also want to use `gunicorn` with `gevent`, in which case simply edit the `Procfile` and `requirements.txt` to add the dependencies and declare the web process.
To use it locally, you must download `pip` and `virtualenv`
$ sudo easy_install pip
$ sudo pip install virtualenvOptionally, install `foreman` and `heroku` Ruby Gems
$ sudo gem install foreman heroku
Now, you can setup an isolated environment with `virtualenv`.
$ virtualenv --no-site-packages env
$ source env/bin/activateOn ubuntu, install the necessary packages:
$sudo apt-get install python-devNext, install the requirements in your isolated python environment.
$ pip install -r requirements.txt
Now, you can run the application locally.
$ python run.py
You can also run it using the production server if you install `libevent-dev` and `foreman`, but I am leaving that for another day, it also is difficult in Windows
$ foreman start