- Create a Heroku account
- Download the Heroku toolbelt
- Login with heroku:
heroku login
- Clone the Susi server and update the submodules:
git clone --recursive https://github.com/fossasia/susi_server.git
- Move into the cloned repository:
cd susi_server
- Update submodules:
git submodule update --init --recursive
- Create a heroku app:
heroku create [optional: app name]
- Push the development branch to heroku:
git push heroku development:master
- Confirm the susi server is running:
heroku logs --tail
- Sometimes the server may take a while to start. The logs would show
State changed from starting to up
when the server is ready. - Open the URL of your server in your browser:
heroku open
.