In this section, we will deploy an instance of Accent!
- Clone the repository
git clone firstname.lastname@example.org:mirego/accent.git
- Run docker-compose
This step will build the Accent docker image and the PostgreSQL image. It will then run the web interface on port 4000.
That’s it! This will spawn a working Accent instance with a dummy login. If you want to add (or test) the available logins, you can simply modify the variables in
Installing in production
With dockerized Accent deployment, you can get your personal Accent instance up and running in seconds.
All of Accent’s dependencies are already included, except PostgreSQL. You will need a publicly accessible database instance. The database is not included in the docker image because we want to persists its state between deployment on stateless infrastructure ike Heroku.
The database connection should also either have the role to install
pg_trgm extension or have it already installed.
Some platform already have guides to deploy Elixir application in production: