Mobilizon

Installation des paquets de bases

apt install wget sudo curl build-essential unzip vim openssl git cmake file  imagemagick
apt install --install-recommends postgis postgresql-11

Installation de NODEJS

# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_current.x | bash -
apt-get install -y nodejs
apt install yarn

Installation d’ELIXIR

wget https://packages.erlang-solutions.com/erlang-solutions_2.0_all.deb
sudo dpkg -i erlang-solutions_2.0_all.deb
apt-get update
apt-get install esl-erlang
apt-get install elixir

Création de l’utilisateur mobilizon

sudo adduser –disabled-login mobilizon

Compilation

sudo -i -u mobilizon
git clone https://framagit.org/framasoft/mobilizon live && cd live
mix deps.get
MIX_ENV=prod mix compile
cd js
yarn install
yarn run build

Génération de la configuration

cd ..
MIX_ENV=prod mix mobilizon.instance gen