Be more explicit about setup
This commit is contained in:
parent
8b66bf7fcb
commit
4d13040b16
12
README.md
12
README.md
@ -17,7 +17,7 @@ We include a lightweight Go server in `server.go`.
|
|||||||
|
|
||||||
### Building
|
### Building
|
||||||
|
|
||||||
To build the site:
|
To build the site you'll need Go and Python installed. Run:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ go get github.com/russross/blackfriday
|
$ go get github.com/russross/blackfriday
|
||||||
@ -34,20 +34,22 @@ $ tools/build-loop
|
|||||||
|
|
||||||
### Local Deploy
|
### Local Deploy
|
||||||
|
|
||||||
|
Ro run and view the site locally:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ mkdir -p $GOPATH/src/github.com/mmcgrana
|
$ mkdir -p $GOPATH/src/github.com/mmcgrana
|
||||||
$ cd $GOPATH/src/github.com/mmcgrana
|
$ cd $GOPATH/src/github.com/mmcgrana
|
||||||
$ git clone git@github.com:mmcgrana/gobyexample.git
|
$ git clone git@github.com:mmcgrana/gobyexample.git
|
||||||
$ cd gobyexample
|
$ cd gobyexample
|
||||||
$ go get
|
$ go get
|
||||||
$ foreman start
|
$ PORT=5000 CANONICAL_HOST=127.0.0.1 FORCE_HTTPS=0 gobyexample
|
||||||
$ foreman open
|
$ open http://127.0.0.1:5000/
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### Platform Deploy
|
### Heroku Deploy
|
||||||
|
|
||||||
Basic setup:
|
To setup the site on Heroku:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ export DEPLOY=$USER
|
$ export DEPLOY=$USER
|
||||||
|
Loading…
x
Reference in New Issue
Block a user