-
Download the correct
pace
CLI binary from the releases tab.- MAC OS Users Optional: If you have the
brew tap pivotal/tap
installed you can install thepace
CLI withbrew install pace-cli
- MAC OS Users Optional: If you have the
-
Run
pace init
. -
Edit the
config.json
. The format should follow thesampleConfig.json
. -
Run
pace build
. Notice the newworkshopGen
folder. This contains your new workshop. -
*Optional Run
pace serve
to view your workshop. View local running site at http://localhost:1313 -
Run
pace push
. This will push your workshop to Pivotal Web Services.
-
Content is pulled from the pace-workshop-content github repo. Feel free to add any content there that you can then use to build a workshop with
pace build
-
While
pace
will build a generic homepage for your workshop you can setup a custom one by supplying a markdown file via theworkshopHomepage
field in theconfig.json
file. This is not required. -
pace push
will automatically generate a random hostname for your workshop but you can specifiy a custom one with the use of theworkshopHostname
attribute inside yourconfig.json
.
-
Download and install go
-
Make sure you have something like this in your terminal profile
export GOPATH=~/go
export GOBIN=$GOPATH/bin
-
Open a terminal window to
pace-builder
directory -
Install all dependencies by running:
go get ./...
- Build binary by running:
go install
-
You should have an executable binary in
$GOBIN/pace-builder
. -
[OPTIONAL] Rename
pace-builder
topace
:
mv $GOBIN/pace-builder $GOBIN/pace
- Test your new pace install with:
pace -h