2mac / hotlogger

The fast, real-time, multi-user ham radio logbook
Other
0 stars 0 forks source link

Need better instructions around configuring Pocketbase for local Dev #29

Closed joejak closed 9 months ago

joejak commented 9 months ago

When following the readme and installing pocketbase, 500 errors ensue, I'm not 100% sure what the issue is but I'm betting there's something up with the config. I can see in the gitignore .env files, and picking through to see what should be in them is tedious.

I would recommend shipping a default, and providing instructions for those who may want to install pocketbase directly and wire it up themselves. There's also a concern that the DB won't auto catch up based on the migrations folder.

I'll do some more testing and once I manage to get local dev working I'll PR in more assistance in the README.md as I'm an idiot and I'd like to help contributing to making the README as idiot proof as possible whilst also remaining concise.

2mac commented 9 months ago

Are you running pocketbase from the same directory as the application? It needs to see the pb_migrations directory or else it doesn't know how to set up the tables.

joejak commented 9 months ago

@2mac can I close this or do I need to update the docs first with the nuance?

2mac commented 9 months ago

I think it is safe to assume that developers will understand that commands specified in the README need to be run from the root of the repo unless otherwise specified. Closing.