v2.7.0
This commit is contained in:
parent
5674d06de5
commit
1c2be2a25b
|
@ -11,7 +11,7 @@ title: Howto Mastodon
|
|||
|
||||
## Installation
|
||||
|
||||
Nous installons la version **2.6.5** sous **Debian 9 (Stretch)**.
|
||||
Nous installons la version **2.7.0** sous **Debian 9 (Stretch)**.
|
||||
|
||||
Mastodon s'appuie sur Ruby, [NodeJS](HowtoNodeJS), [Yarn](HowtoYarn), [Nginx](HowtoNginx), [Redis](HowtoRedis) et [PostgreSQL](HowtoPostgreSQL).
|
||||
|
||||
|
@ -35,7 +35,7 @@ Créer un compte UNIX *mastodon* :
|
|||
|
||||
### Ruby
|
||||
|
||||
Mastodon nécessite une version très récente de Ruby (2.5.0), 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.6.0), on le met en place via [rbenv](HowtoRails#cas-2-utilisation-avec-rbenv-unicorn) :
|
||||
|
||||
~~~
|
||||
# sudo -iu mastodon
|
||||
|
@ -47,8 +47,8 @@ $ 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.3
|
||||
$ rbenv local 2.5.3
|
||||
$ TMPDIR=~/tmp MAKE_OPTS=-j$(nproc) RUBY_CONFIGURE_OPTS=--with-jemalloc rbenv install 2.6.0
|
||||
$ rbenv local 2.6.0
|
||||
~~~
|
||||
|
||||
> **Note** : On met la variable d'environnement `RAILS_ENV` dans notre profile bash pour éviter de l'indiquer à chaque commande Ruby/Rails.
|
||||
|
@ -88,7 +88,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.6.5
|
||||
$ git checkout v2.7.0
|
||||
$ gem install bundler
|
||||
$ bundle install --deployment --without development test
|
||||
$ yarn install --pure-lockfile
|
||||
|
|
Loading…
Reference in a new issue