Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
adhatama committed Apr 13, 2018
1 parent 3365a9c commit 7f3b670
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ To get the stable release, you can clone from the master branch or from the [rel
## Requirement
- Go v1.9
- Vue 2.x
- Node 8.9.x

## Installation
- Make sure you have installed `golang/dep`
- https://golang.github.io/dep/docs/installation.html
- https://gist.github.com/subfuzion/12342599e26f5094e4e2d08e9d4ad50d
- Clone the repo using `go get github.com/Tanibox/tania-server`
- Clone the repo using `go get github.com/Tanibox/tania-core`
- From the project root, call `dep ensure` to install the Go dependencies
- If you have an issue with `dep ensure`, you can call `go get` instead.
- Create a new file `conf.json` using the values from the `conf.json.example` and set it with your own values.
Expand All @@ -24,6 +25,7 @@ To get the stable release, you can clone from the master branch or from the [rel
- Edit `SqlitePath` in `conf.json` to your sqlite DB file path (ex: /Users/user/Programs/sqlite/tania.db)
- Create empty file with the exact filename and path that match the `SqlitePath` config.
- Run the Go server using `go run main.go` and open it in the `http://localhost:8080`
- Default username and password are `tania / tania`

## Test
- Call `go test ./...` to run all the Go tests.
Expand Down

0 comments on commit 7f3b670

Please sign in to comment.