mirror of
https://github.com/pockethost/pockethost.git
synced 2025-11-23 22:15:49 +00:00
1.3 KiB
1.3 KiB
Summary
sudo crontab -esudo pm2 stop allsudo ./scripts/dev.shsudo ./scripts/build.shsudo ./scripts/prod.sh- Finalize readme
pnpm version --patchsudo ./scripts/pm2.shsudo crontab -e- Create new discussion in PocketHost and PocketBase
Detailed steps
1. Build
git clone git@github.com:benallfree/pockethost.git
cd pockethost
pnpm
cp .env-template .env # modify as needed
scripts/build.sh
2. Refresh Certbot
./scripts/certbot-refresh.sh
Then, ensure keys named fullchain.pem and privkey.key are in docker/mount/nginx/ssl.
3. Run
sudo scripts/pm2.sh
sudo pm2 dash
sudo open https://pockethost.io
4. Test
If all goes well:
- Update
./gitbook/releaseswith latest relevant fixes. - Create a new discussion on PocketHost forum
- If major release, create announcement on PocketBase forum
- Use
pnpm version --patchfor patch release and tag with git - Use
scripts/build.shto rebuild everything - Use
scripts/pm2.shto run in prod mode
Updating the max PocketBase semver
By default, PocketHost will download and run the latest version of PocketBase. If you need to limit or lock the PocketBase versions(s) available, edit the DAEMON_PB_SEMVER variable in .env.