blue-jay / blueprint

Blueprint for your next web application in Go.
https://blue-jay.github.io/
MIT License
482 stars 77 forks source link

Test on OS X #36

Closed josephspurrier closed 8 years ago

josephspurrier commented 8 years ago

Update documentation accordingly.

ralic commented 8 years ago

I've tested it on OS X and no issue found so far

Instructions :

Prepare golang support on macOS

brew install go export PATH=$PATH:/usr/local/opt/go/libexec/bin export GOPATH=/usr/local/opt/go/libexec/bin

Prepare jay-cli support on macOS

git clone https://github.com/blue-jay/jay.git cd jay go build cp jay /usr/local/bin

Quick-start for blue-print

git clone https://github.com/blue-jay/blueprint.git go get github.com/blue-jay/jay/ go get github.com/blue-jay/blueprint/ cd blueprint

Database preparation

( vi env.json to change MySQL user & password before run the script) export JAYCONFIG=./env.json jay env make jay migrate all

Run the server

go build sudo ./blueprint open http://localhost

josephspurrier commented 8 years ago

@ralic Awesome! Thanks for the instructions too. I need to add this to a wiki page.

josephspurrier commented 8 years ago

I added the instructions to: https://github.com/blue-jay/blueprint/wiki/Blueprint-Setup-for-OS-X. I have to go through and test them again - I made a couple changes.

josephspurrier commented 8 years ago

Testing is complete. I added a quick instruction for docker too.

josephspurrier commented 8 years ago

I added to the website also: http://blue-jay.github.io/#os-specific-instructions