:3c
You will need docker
and docker-compose
installed.
- Run
docker-compose up
to bring up Postgres and Redis containers. - Run migrations:
go run . migrate up
. - (Optional) Load sample data for development - note that
meow
requires every node in a path.go run . ingest < fixtures/localhost.json
- createhttps://localhost
.go run . ingest < fixtures/localhost-jane.json
- createhttps://localhost/~jane
.
- Run the server, accept requests to
localhost
:go run . serve --domain localhost
. - Make some test requests:
curl -v localhost:8000
curl -v localhost:8000/~jane
Make some changes, then just restart go run . serve --domain localhost
to have them reflected.