Quickstart
Create a .env
file to store your own custom env vars. See example.env
- Start the local postgres database in a postgres container:
docker-compose -f docker-compose-dev.yml up postgres
- Build the auth binary:
make build
. You should see an output like this:
- Execute the auth binary:
./gotrue
If you have docker installed
Create a .env.docker
file to store your own custom env vars. See example.docker.env
make build
make dev
docker ps
should show 2 docker containers (auth_postgresql
andgotrue_gotrue
)- That’s it! Visit the health checkendpoint to confirm that auth is running.