Code Repositories xandikos / 913ec7b
Add instructions on running heroku. Jelmer Vernooń≥ 2 years ago
2 changed file(s) with 20 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 [uwsgi]
1 http-socket = :$(PORT)
2 die-on-term = true
3 umask = 022
4 master = true
5 cheaper = 2
6 processes = 4
7 plugin = router_basicauth,python3
8 route = ^/ basicauth:myrealm,user1:password1
9 module = xandikos.wsgi:app
10 env = XANDIKOSPATH=$HOME/dav
11 env = CURRENT_USER_PRINCIPAL=/dav/user1/
12 env = AUTOCREATE=defaults
0 $ cp examples/uwsgi-heroku.ini uwsgi.ini
1 (Update according to your requirements)
2 $ echo web: uwsgi uwsgi.ini > Procfile
3 $ echo uwsgi > requirements.txt
4 $ heroku create
5 $ git push heroku master
6 $ heroku open