Skip to content

Commit

Permalink
Update README (docker-compose deprecation)
Browse files Browse the repository at this point in the history
  • Loading branch information
System-Glitch committed Jun 27, 2024
1 parent 8dc6109 commit 4d8686c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:[email protected]: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_`

Expand Down

0 comments on commit 4d8686c

Please sign in to comment.