add instructions for mac

This commit is contained in:
Erin Keenan 2018-04-16 07:34:16 -07:00 committed by GitHub
parent 70d7be8f8c
commit d2537c4791
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,17 @@ $ go build
$ ./phi-editor
```
If you're on macOS, you can get these dependencies via. homebrew. If you're on windows; you have my condolences.
If you're on macOS, you can do something like this, using homebrew:
```bash
$ brew install sdl2 sdl2_image sdl2_ttf
$ go get github.com/felixangell/phi-editor
$ cd $GOPATH/src/github.com/felixangell/phi-editor
$ go build
$ ./phi-editor
```
If you're on windows, you have my condolences.
## configuration
Configuration files are stored in `$HOME/.phi-editor-editor/config.toml`. Note that