- Install the requirements packages:
pip3 install -r requirements.txt
- Create
token.inifile and enter the following syntax:
[slack]
token = <your token>
- Set the nginx configuration by the following settings:
location / {
proxy_pass http://localhost:8080/;
}
- Give the right access to the user in
usersection at nginx conf:
user www-data
- Run the app, using waitress:
waitress-serve 'app:app'
congratulations!