Signed-off-by: Thomas Citharel <tcit@tcit.fr>
1.9 KiB
Dependencies
Debian / Ubuntu and derivatives
- On a fresh Debian/Ubuntu, as root user, install basic utility programs needed for the installation
sudo apt-get install curl sudo unzip vim
-
It would be wise to disable root access and to continue this tutorial with a user with sudoers group access
-
Install certbot (choose instructions for nginx and your distribution) : https://certbot.eff.org/all-instructions
-
Install NodeJS 10.x (current LTS): https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions
-
Install yarn, and be sure to have a recent version: yarnpkg.com/en/docs/install#linux-tab
-
Install Erlang and Elixir: https://elixir-lang.org/install.html#unix-and-unix-like
-
Install PostGIS: https://postgis.net/install/
-
Run:
sudo apt update
sudo apt install nginx postgresql postgresql-contrib openssl make git esl-erlang elixir postgis
Now that dependencies are installed, before running MobiliZon you should start PostgreSQL:
sudo systemctl start postgresql
Arch Linux
- Run:
sudo pacman -S nodejs postgresql openssl git wget unzip base-devel yarn nginx elixir postgis
Now that dependencies are installed, before running MobiliZon you should start PostgreSQL and Redis:
sudo systemctl start postgresql
Other distributions
Feel free to update this file in a pull request!