Brewhouse Digital 7da58229a2 Marketing - Documentation Links & Image Updates (#305)
* Documentation Links & Image Updates

* Updated a letter in the docs
2023-10-02 14:13:11 -07:00

768 B

title category subcategory
Manually set up `/etc/hosts` development full-stack

If you can't use dnsmasq or equivalent, you can still configure hosts manually. The dev experience will be slightly more limited, but it will still work.

1. Add host entries to /etc./hosts

sudo nano /etc/hosts

Then, add these entries:

127.0.0.1 pockethost.test                      # The main domain
127.0.0.1 pockethost-central.pockethost.test   # The main pocketbase instance
127.0.0.1 test.pockethost.test                 # A sample (user) pocketbase instance

Add as many *.pockethost.test subdomains as you want to test. Since /etc/hosts does not support wild-carding, this must be done manually.