aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormagikcypress <cyp@rouquin.me>2017-04-10 21:18:41 +0200
committermagikcypress <cyp@rouquin.me>2017-04-10 21:18:41 +0200
commitbf3c2c3e52c80d1e21c31b5e211dc454af475e44 (patch)
tree5b76c52925e5af209524f1028a32a9ed2c88bd23
parent8d7554947196a67cb297a807d84aeba8f7dc0946 (diff)
downloadmastodon_ynh-bf3c2c3e52c80d1e21c31b5e211dc454af475e44.tar.gz
mastodon_ynh-bf3c2c3e52c80d1e21c31b5e211dc454af475e44.tar.bz2
mastodon_ynh-bf3c2c3e52c80d1e21c31b5e211dc454af475e44.zip
[fix] Config assets:precompile
-rw-r--r--scripts/install3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/install b/scripts/install
index 11c3f1a..012d558 100644
--- a/scripts/install
+++ b/scripts/install
@@ -85,7 +85,6 @@ sudo chown -R $app: "${final_path}"
sudo su - $app <<COMMANDS
pushd ~/.rbenv
src/configure && make -C src
-echo 'cd $HOME' >> ~/.bashrc
echo 'export PATH="/opt/mastodon/.rbenv/bin:/opt/mastodon/live/bin:$PATH"' >> ~/.profile
echo 'export PATH="/opt/mastodon/.rbenv/bin:/opt/mastodon/live/bin:$PATH"' >> ~/.bashrc
echo 'eval "\$(rbenv init -)"' >> ~/.bashrc
@@ -137,7 +136,7 @@ sudo sed -i 's,SMTP_FROM_ADDRESS=notifications@example.com,SMTP_FROM_ADDRESS='${
sudo su - $app <<CCOMMANDS
pushd ~/live
RAILS_ENV=production bin/bundle exec rails db:setup
-# RAILS_ENV=production bin/bundle exec rails assets:precompile
+RAILS_ENV=production bin/bundle exec rails assets:precompile
CCOMMANDS
# Create admin user