Page MenuHomePhorge

Firefish
Updated 164 Days AgoPublic

Updating

Upstream docs:

My procedure, coming from an install just before the rebranding:

sudo service nginx stop
sudo service calckey stop

# Change to the user and dir for the service
sudo su calckey
cd ~/calckey
# and run some asset checkout
git checkout -- packages/backend/assets
# I'm not just upgrading to latest HEAD c'mon guys get real
git checkout vTagname 
# I guess this updates whatever corepack is
corepack prepare pnpm@latest --activate 
# Seems more like `apt update`? I say this because it seems to just get the index, and then...
pnpm install --frozen-lockfile 
# ...a ton of Node and Rust package compiles are done, which takes stupidly long, all you devops dorks need to find God (Debian)
NODE_ENV='production' NODE_OPTIONS='--max_old_space_size=3072' pnpm run rebuild
# maybe if I knew nginx this override wouldn't be necessary? I dunno man apache2lyfe
NODE_TLS_REJECT_UNAUTHORIZED=0 pnpm run migrate 
exit

sudo service calckey start
sudo service nginx start

Why is Keith writing this?

T156

Tags
  • Restricted Project
  • Restricted Project
Referenced Files
None
Subscribers
None
Last Author
keithzg
Last Edited
Jun 10 2024, 1:31 AM