Debian Linux
Superuser
By default, in Debian no user can use sudo
if a password for the root user was provided during the installation.
So, in order to install the project dependencies, we've got two options. The first option is opening a root shell. Run:
You'll be asked to introduce the password for the root user.
The second option is adding a regular user to the sudo
group. For that, after opening a root shell, run:
You'll have to log out and log in again for these changes to take effect.
System update
Run a general system update:
Git
Git is officially maintained in Debian:
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:
CMake and pkg-config
In order to compile some of the project dependencies, we need CMake and pkg-config:
Node.js version manager
To compile the assets, you'll need a JavaScript runtime. Node.js is the preferred option. To install Node.js, we will install a Node.js version manager, like NVM:
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":
Imagemagick
Install Imagemagick:
Chrome or Chromium
In order to run the system tests, we need to install Chrome or Chromium.
Now you're ready to go get Consul Democracy installed!
Last updated