Skip to content

Commit

Permalink
Document the need to use -tags sqlite for sqlite support (#39)
Browse files Browse the repository at this point in the history
* Document the need to use `-tags sqlite` for sqlite support

* Add explanation of building a project with sqlite support, without bufalo.
  • Loading branch information
bigblind authored and markbates committed Mar 22, 2018
1 parent d620a94 commit d9d23a1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,22 @@ Pop features CLI support via the `soda` command for the following operations:

### Installing CLI Support

**Without** sqlite 3 support:

```bash
$ go get github.com/gobuffalo/pop/...
$ go install github.com/gobuffalo/pop/soda
```

**with** sqlite 3 support:

```bash
$ go get -u -v -tags sqlite github.com/gobuffalo/pop/...
$ go install github.com/gobuffalo/pop/soda
```

If you're not building your code with `buffalo build`, you'll also have to pass `-tags sqlite` to `go build` when building your program.

### Creating Databases

Assuming you defined a configuration file like that described in the above section you can automatically create those databases using the `soda` command:
Expand Down

0 comments on commit d9d23a1

Please sign in to comment.