aboutsummaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/install')
-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