:3c
You will need docker and docker-compose installed.
- Run
docker-compose upto bring up Postgres and Redis containers. - Run migrations:
go run . migrate up. - (Optional) Load sample data for development - note that
meowrequires 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:8000curl -v localhost:8000/~jane
Make some changes, then just restart go run . serve --domain localhost to have them reflected.