diff --git a/HowtoMastodon.md b/HowtoMastodon.md index 11985fd7..31b592d7 100644 --- a/HowtoMastodon.md +++ b/HowtoMastodon.md @@ -11,7 +11,7 @@ title: Howto Mastodon ## Installation -Nous installons la version **1.6.1** sous **Debian 8 (Jessie)**. +Nous installons la version **2.0.0** sous **Debian 8 (Jessie)**. Mastodon s'appuie sur Ruby, [NodeJS](HowtoNodeJS), [Yarn](HowtoYarn), [Nginx](HowtoNginx), [Redis](HowtoRedis) et [PostgreSQL](HowtoPostgresql). @@ -36,7 +36,7 @@ Créer un compte UNIX *mastodon* : ### Ruby -Mastodon nécessite une version très récente de Ruby (2.4.1), on le met en place via [rbenv](HowtoRails#cas-2-utilisation-avec-rbenv-unicorn) : +Mastodon nécessite une version très récente de Ruby (2.4.2), on le met en place via [rbenv](HowtoRails#cas-2-utilisation-avec-rbenv-unicorn) : ~~~ # sudo -iu mastodon @@ -48,7 +48,7 @@ $ echo 'export RAILS_ENV="production"' >> ~/.bash_profile $ source ~/.bash_profile $ git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build $ cd -$ TMPDIR=~/tmp MAKE_OPTS=-j$(nproc) rbenv install 2.4.1 +$ TMPDIR=~/tmp MAKE_OPTS=-j$(nproc) rbenv install 2.4.2 ~~~ > **Note** : On met la variable d'environnement `RAILS_ENV` dans notre profile bash pour éviter de l'indiquer à chaque commande Ruby/Rails. @@ -103,7 +103,7 @@ On clone le repository et installe avec _bundle_ et _yarn_ : # sudo -iu mastodon $ git clone https://github.com/tootsuite/mastodon.git $ cd mastodon -$ git checkout v1.6.1 +$ git checkout v2.0.0 $ gem install bundler $ bundle install --deployment --without development test $ yarn install --pure-lockfile