|
11 жил өмнө | |
---|---|---|
.. | ||
conf | 11 жил өмнө | |
views | 11 жил өмнө | |
README.md | 11 жил өмнө | |
__init__.py | 11 жил өмнө | |
app.pl | 11 жил өмнө | |
bash_profile.sh | 11 жил өмнө | |
benchmark_config | 11 жил өмнө | |
install.sh | 11 жил өмнө | |
nginx.conf | 11 жил өмнө | |
setup.py | 11 жил өмнө | |
source_code | 11 жил өмнө |
Create a configuration file. Bare bones example of app.ini:
[uwsgi] http-socket = :8080 psgi = app.pl
Make sure you have installed the psgi plugin.
Deploy with uwsgi
uwsgi --http-modifier1 5 --plugin psgi --ini app.ini
Deploy via plackup
plackup -E production -s Starman --workers=5 -l /tmp/frameworks-benchmark.sock -a ./app.pl
If you want to front it with nginx, otherwise
plackup -E production -s Starman --port=8080 --workers=5 -a ./app.pl