Editing about (landing page) - docker-based setup

hi everyone,
I just installed mastodon on my server and now I’m trying to modify the landing page in /root/mastodon/app/views/about but I don’t see any changes in show.html.haml after editing. So I am wondering what am I doing wrong?

Did you rebuild all assets?

What are the commands to rebuild it with docker?

docker-compose down
docker-compose up -d

this is not working.

You need to run RAILS_ENV=production bundle exec rails assets:precompile inside of your container (assuming you are using production setup).

i am having the following issue

RAILS_ENV=production bundle exec rails assets:precompile

Command ‘bundle’ not found, but can be installed with:

snap install ruby # version 3.0.2, or
apt install ruby-bundler # version 2.1.4-1

See ‘snap info ruby’ for additional versions.

I am sorry, I don’t know the details of a docker-based setup.

sure no problem. thank you anyway.

Did you attach to the docker container and run that in its shell? My comment here describes how to connect for a similar reason. Blocked host: <WEB_DOMAIN> · Issue #16521 · mastodon/mastodon · GitHub

1 Like