Skip to content

Commit

Permalink
Adding docker install in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Nabil-Salah committed May 29, 2024
1 parent f9b8615 commit 01f7898
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@ server:
go run main.go
mock:
mockgen -package mockdb -destination db/mock/store.go simplebank/db/sqlc Store
.start: postgres createdb dropdb migrateup migratedown test server mock
.start: postgres createdb dropdb migrateup migratedown test server mock



12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
[![GitHub Release](https://img.shields.io/github/release/golang-migrate/migrate.svg)](https://github.com/golang-migrate/migrate/releases)
[![Go Report Card](https://goreportcard.com/badge/github.com/golang-migrate/migrate/v4)](https://goreportcard.com/report/github.com/golang-migrate/migrate/v4)

This Project i'm Trying to make bank system.

Applying what i'm currently learning in go web development course

Users have accounts and make transactions with rollbacks if any failure happened.
# docker
Insure that you have docker installed on your machine [Guidence](https://docs.docker.com/)
# migrate

__Database migrations written in Go. Use as [CLI](#cli-usage) or import as [library](#use-in-your-go-project).__
Expand All @@ -19,6 +26,11 @@ __Database migrations written in Go. Use as [CLI](#cli-usage) or import as [libr

Forked from [mattes/migrate](https://github.com/mattes/migrate)

You need to download on your device
```bash
$ brew install golang-migrate
```

## Databases

Database drivers run migrations. [Add a new database?](database/driver.go)
Expand Down

0 comments on commit 01f7898

Please sign in to comment.