diff options
| author | yalh76 <yalh@yahoo.com> | 2019-03-22 23:24:05 +0100 |
|---|---|---|
| committer | yalh76 <yalh@yahoo.com> | 2019-03-22 23:24:05 +0100 |
| commit | e7df7cc8d71cbde6e4a74552298a83c579751163 (patch) | |
| tree | 9ae4eb3dffec6e5de062628db3ae5c0cefcf1a5d /scripts/install | |
| parent | c7da529e29cca2fe42608a3fd73935d75930bba5 (diff) | |
| download | mastodon_ynh-e7df7cc8d71cbde6e4a74552298a83c579751163.tar.gz mastodon_ynh-e7df7cc8d71cbde6e4a74552298a83c579751163.tar.bz2 mastodon_ynh-e7df7cc8d71cbde6e4a74552298a83c579751163.zip | |
Add VAPID Keys generation
Diffstat (limited to 'scripts/install')
| -rw-r--r-- | scripts/install | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/install b/scripts/install index 0d85c74..2c12cf4 100644 --- a/scripts/install +++ b/scripts/install @@ -193,6 +193,7 @@ pushd "$final_path/live" sudo -u "$app" echo "SAFETY_ASSURED=1">> .env.production sudo -u "$app" env PATH=$PATH RAILS_ENV=production /opt/rbenv/versions/2.6.0/bin/bundle exec rails db:migrate --quiet sudo -u "$app" env PATH=$PATH RAILS_ENV=production /opt/rbenv/versions/2.6.0/bin/bundle exec rails assets:precompile --quiet + sudo -u "$app" env PATH=$PATH RAILS_ENV=production /opt/rbenv/versions/2.6.0/bin/bundle exec rake mastodon:webpush:generate_vapid_key >> "${final_path}/live/.env.production" sudo -u "$app" env PATH=$PATH RAILS_ENV=production bin/tootctl accounts create "$admin" --email="$admin_mail" --confirmed --role=admin > acc.txt popd |
