This commit is contained in:
Benoît S. 2018-11-01 13:45:48 +01:00
parent 28630cbc42
commit 45474918d5

View file

@ -11,7 +11,7 @@ title: Howto Mastodon
## Installation
Nous installons la version **2.5.1** sous **Debian 9 (Stretch)**.
Nous installons la version **2.6.1** sous **Debian 9 (Stretch)**.
Mastodon s'appuie sur Ruby, [NodeJS](HowtoNodeJS), [Yarn](HowtoYarn), [Nginx](HowtoNginx), [Redis](HowtoRedis) et [PostgreSQL](HowtoPostgreSQL).
@ -47,7 +47,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) RUBY_CONFIGURE_OPTS=--with-jemalloc rbenv install 2.5.0
$ TMPDIR=~/tmp MAKE_OPTS=-j$(nproc) RUBY_CONFIGURE_OPTS=--with-jemalloc rbenv install 2.5.3
~~~
> **Note** : On met la variable d'environnement `RAILS_ENV` dans notre profile bash pour éviter de l'indiquer à chaque commande Ruby/Rails.
@ -87,7 +87,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 v2.5.1
$ git checkout v2.6.1
$ gem install bundler
$ bundle install --deployment --without development test
$ yarn install --pure-lockfile