mementomori.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mementomori.social is a social media for mortals. We connect with the Fediverse, used by millions. This instance is backed by a Finnish company, digital web agency Digitoimisto Dude Oy.

Administered by:

Server stats:

416
active users

Fediverse stats:

10M
users

The upcoming version has so much nice UI things I can't wait to add them to .

@Gargron or others: Can you please share: How to properly set up a nightly version from Git main branch to production? The familiar steps from stable tags are not working on main.

@rolle There are no git tags for the nightlies, they are just built from commits on main. If you're not using Docker you can just checkout main.

@Gargron Thanks for answering.

Noticed that and did try checking out main and building it as usual. But for some reason it has jsx files instead of js and after bundle install, yarn install and yarn build:production etc. it seems it's not all right. Some js modules like React missing and I don't understand why.

Is there a build process for main from source? I'm not using Docker.

@rolle @Gargron

It is important to manually remove the `packs` folder

So my update pipeline looks like

update 2023.07.11:
it is enough to use assets:clobber
gist.github.com/Mixaill/f3d4a7

Roni Laukkarinen

@mixaill Is it really safe to remove?

How about this: RAILS_ENV=production bundle exec rails assets:clean assets:precompile

I'll try it tomorrow on localhost.

@Gargron

@rolle @Gargron

yep, it is pretty safe, `assets:precompile` perform full restoration of this folder

`assets:clean` does not fully remove the `packs` folder and after execution the `assets:precompile` command rejects to compile anything.

So it will be broken until you remove the `public/packs` folder and run `assets:precompile` to restore it