-
Download pocketbase runtime depending on your OS. paste it on the
pbdirectory; -
You don't need to touch that directory.
-
After downloading try running
pnpm run dev:api -
If successful initialize your instance by going at
http://localhost:8090/_/-
Copy the
.env.exampleto.env.developmentcp .env.example .env.development
-
Whatever you put in the installer setup should also be in your
.env.developmentcredentials
-
-
Use the sample data just upload the
sampledata.ziplocated atpbdirectory to your local pb instance at Backups -
You local data that you have will stay with you as
pb/pb_dataisgitignoredThis will keep our production data pristine -
You can now install node dependencies using
pnpm install -
On a seperate terminal run the ff commands on each one
pnpm dev:apiandpnpm dev:web -
In case you are lazy run both using
pnpm devbut some systems might not support closing each child process. -
Contribute and make a PR.
For further questions reachout with the team
The following project will only be deployable using adapter-node
and all other env setup is there.
If you want to deploy a similar stack on your own you need to host your own pb instance.