Last active
July 30, 2025 15:07
-
-
Save VictorioBerra/d24f79cc8707f1d60820e4f4d5530d03 to your computer and use it in GitHub Desktop.
Pocketpages Codespace First Start
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get bun, install deps | |
curl -fsSL https://bun.com/install | bash | |
source /home/codespace/.bashrc | |
bun i | |
# Get Pocketbase, remember to check version (see top of https://pocketbase.io/) | |
PB_VERSION="0.29.0" | |
wget https://github.com/pocketbase/pocketbase/releases/download/v$PB_VERSION/pocketbase_${PB_VERSION}_linux_amd64.zip | |
unzip -q pocketbase_${PB_VERSION}_linux_amd64.zip pocketbase | |
rm pocketbase_${PB_VERSION}_linux_amd64.zip | |
chmod +x pocketbase | |
# Link the starter you want to develop/test against | |
ln -s ./packages/starters/auth/pb_migrations/ ./pb_migrations | |
ln -s ./packages/starters/auth/pb_hooks/ ./pb_hooks | |
# Start dev servers | |
bun dev # Keep running in seperate term during development | |
./pocketbase --dev serve |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment