macOS
Last updated
Last updated
Homebrew is a very popular package manager for macOS. It's advised to use it since it makes the installation of some of the dependencies much easier.
You can find the installation instructions at:
You can install git:
macOS already comes with a preinstalled Ruby version, but it's quite old and we need a newer one. One of the multiple ways of installing Ruby in macOS is through :
In order to compile some of the project dependencies, we need CMake and pkg-config:
To compile the assets, you'll need a JavaScript runtime. macOS comes with an integrated runtime called Apple JavaScriptCore
but Node.js is the preferred option. To install Node.js, we will install a Node.js version manager, like NVM:
Now we're going to configure some things related to the default user. First we start postgres server with:
At this point we're supposed to have postgres correctly installed and a default user will automatically be created (whose name will match our username). This user hasn't got a password yet.
If we run psql
we'll login into the postgres console with the default user. It will probably fail since it's required that a default database exists for that user. We can create it by typing:
If we run psql
again we should now get access to postgres console. With \du
you can see the current users list.
In case you want to set a password for your user you can make it through the postgres console by:
Install Imagemagick:
In order to run the system tests, we need to install Chrome or Chromium.
Now you're ready to go !