1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

Update README.md

This commit is contained in:
Ferdinand Mütsch 2020-03-10 19:58:37 +01:00 committed by GitHub
parent eff469bdbf
commit 45d061755c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,9 +15,9 @@
## Usage ## Usage
* Create an empty MySQL database * Create an empty MySQL database
* Enable Go module support: `export GO111MODULE=on`
* Get code: `go get github.com/n1try/wakapi` * Get code: `go get github.com/n1try/wakapi`
* Go to project root: `cd "$GOPATH/src/github.com/n1try/wakapi"` * Go to project root: `cd "$GOPATH/src/github.com/n1try/wakapi"`
* Install dependencies: `go get -d ./...`
* Copy `.env.example` to `.env` and set database credentials * Copy `.env.example` to `.env` and set database credentials
* Set target port in `config.ini` * Set target port in `config.ini`
* Build executable: `go build` * Build executable: `go build`