1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/glitchsoc_ynh.git synced 2024-09-03 19:15:59 +02:00

[fix] Config assets:precompile

This commit is contained in:
magikcypress 2017-04-10 21:18:41 +02:00
parent 8d75549471
commit bf3c2c3e52

View file

@ -85,7 +85,6 @@ sudo chown -R $app: "${final_path}"
sudo su - $app <<COMMANDS sudo su - $app <<COMMANDS
pushd ~/.rbenv pushd ~/.rbenv
src/configure && make -C src 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"' >> ~/.profile
echo 'export PATH="/opt/mastodon/.rbenv/bin:/opt/mastodon/live/bin:$PATH"' >> ~/.bashrc echo 'export PATH="/opt/mastodon/.rbenv/bin:/opt/mastodon/live/bin:$PATH"' >> ~/.bashrc
echo 'eval "\$(rbenv init -)"' >> ~/.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 sudo su - $app <<CCOMMANDS
pushd ~/live pushd ~/live
RAILS_ENV=production bin/bundle exec rails db:setup 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 CCOMMANDS
# Create admin user # Create admin user