Ubuntu Linux
System update
Run a general system update:
Git
Git is officially maintained in Ubuntu:
Ruby version manager
Ruby versions packaged in official repositories are not suitable to work with Consul Democracy, so we'll have to install it manually.
First, we need to install Ruby's development dependencies:
The next step is installing a Ruby version manager, like rbenv:
Node.js
To compile the assets, you'll need a JavaScript runtime. Node.js is the preferred option.
Run the following command on your terminal:
PostgreSQL
Install postgresql and its development dependencies with:
You also need to configure a user for your database. As an example, we'll choose the username "consul":
To make sure the UTF-8 enconding is used, create a file:
Add the following:
Reconfigure Postgres to use the UTF-8 encoding:
Imagemagick
Install Imagemagick:
ChromeDriver
To run E2E integration tests, we use Selenium along with Headless Chrome.
To get it working, install the chromium-chromedriver package and make sure it's available on your shell's PATH:
Now you're ready to go get Consul Democracy installed!
Last updated