Code Repositories xandikos / 845ed35
Fix formatting. Jelmer Vernooń≥ 2 years ago
1 changed file(s) with 9 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
1414
1515 1. Create a copy of Xandikos::
1616
17 $ git clone git://jelmer.uk/xandikos xandikos
18 $ cd xandikos
17 $ git clone git://jelmer.uk/xandikos xandikos
18 $ cd xandikos
1919
20 2. Make a copy of the example uwsgi configuration:
20 2. Make a copy of the example uwsgi configuration::
2121
22 $ cp examples/uwsgi-heroku.ini uwsgi.ini::
22 $ cp examples/uwsgi-heroku.ini uwsgi.ini
2323
2424 3. Edit *uwsgi.ini* as necessary, such as changing the credentials (the
2525 defaults are *user1*/*password1*).
2626
2727 4. Set Heroku procfile to use uwsgi configuration::
2828
29 $ echo web: uwsgi uwsgi.ini > Procfile
29 $ echo web: uwsgi uwsgi.ini > Procfile
3030
3131 5. Add uwsgi to requirements::
3232
33 $ echo uwsgi > requirements.txt
33 $ echo uwsgi > requirements.txt
3434
3535 6. Create the Heroku instance::
3636
37 $ heroku create
37 $ heroku create
3838
3939 (this might ask you for your heroku credentials)
4040
4141 7. Deploy the app::
4242
43 $ git push heroku master
43 $ git push heroku master
4444
4545 8. Open the app with your browser::
4646
47 $ heroku open
47 $ heroku open
4848
4949 (The URL opened is also the URL that you can provide to any CalDAV/CardDAV
5050 application that supports service discovery)