Nouveaux pré-requis
This commit is contained in:
parent
bef2fbca52
commit
9dab7260e5
|
@ -19,7 +19,7 @@ On peut installer les dépendances pour Mastodon :
|
|||
|
||||
~~~
|
||||
# apt install nodejs yarn imagemagick ffmpeg libpq-dev libxml2-dev libxslt1-dev file git curl \
|
||||
g++ libprotobuf-dev protobuf-compiler pkg-config build-essential libreadline-dev
|
||||
g++ libprotobuf-dev protobuf-compiler pkg-config build-essential libreadline-dev libicu-dev libidn11-dev
|
||||
~~~
|
||||
|
||||
> **Note** : Vous devez avoir les backports `jessie-backports` pour installer _ffmpeg_.
|
||||
|
@ -51,6 +51,8 @@ $ cd
|
|||
$ TMPDIR=~/tmp MAKE_OPTS=-j$(nproc) rbenv install 2.4.1
|
||||
~~~
|
||||
|
||||
> **Note** : On met la variable d'environnement `RAILS_ENV` dans notre profile bash pour éviter de l'indiquer à chaque commande Ruby/Rails.
|
||||
|
||||
### NodeJS et Yarn
|
||||
|
||||
Mastodon nécessite une version très récentes de [NodeJS](HowtoNodeJS) et [Yarn](HowtoYarn) :
|
||||
|
@ -107,6 +109,7 @@ $ bundle install --deployment --without development test
|
|||
$ yarn install --pure-lockfile
|
||||
$ cp .env.production.sample .env.production
|
||||
$ bundle exec rake secret
|
||||
$ bundle exec rake mastodon:webpush:generate_vapid_key >> .env.production
|
||||
~~~
|
||||
|
||||
> Attention, si vous avez un `/home` en `noexec`, il faudra le passer en `exec` pour les processus Ruby et NPM. Au risque d'obtenir ce genre d'erreurs :
|
||||
|
|
Loading…
Reference in New Issue