From 4d8686ca97a9396bd8b8fcfce65238dce15450df Mon Sep 17 00:00:00 2001 From: SystemGlitch Date: Thu, 27 Jun 2024 14:40:35 +0200 Subject: [PATCH] Update README (docker-compose deprecation) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cb0411b..d5ebf07 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ This example project was created to demonstrate a simple application built with First, make your own configuration for your local environment. - Copy `config.example.json` to `config.json`. -- Start the database container with `docker-compose up`. +- Start the database container with `docker compose up`. - Run migrations with [dbmate](https://github.com/amacneil/dbmate): `dbmate -u postgres://dbuser:secret@127.0.0.1:5432/blog?sslmode=disable -d ./database/migrations --no-dump-schema migrate` - Run `go run main.go` in your project's directory to start the server. If you want to seed your database with random records use the `-seed` flag: `go run main.go -seed`. Users will all be created with the following password: `p4ssW0rd_`