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:
parent
8d75549471
commit
bf3c2c3e52
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue