Deploying our optimized app on Heroku
Heroku has fewer features compared to AWS and it can be more expensive to host applications there. However, it is much easier to set up and configure, providing a friendly UI for common tasks, such as setting up an SSL certificate or configuring a custom domain name.
If you don’t have an account already, follow these steps:
- Start by creating a free Heroku account by visiting https://www.heroku.com.
- Genie greatly simplifies Heroku deployments thanks to the
GenieDeployHeroku.jl
package, so let’s add it:(GenieTodoMVC) pkg> add GenieDeployHeroku
The package uses the Heroku CLI, which needs to be installed manually. Follow the instructions for your OS from https://devcenter.heroku.com/articles/heroku-cli#install-the-heroku-cli.
- Once the CLI is installed, in the app’s Julia REPL, run the following:
julia> GenieDeployHeroku.login()
- Follow the instructions to log in to your Heroku account. Once...