yarn
: curl -o- -L https://yarnpkg.com/install.sh | bash
brew install yarn
.bashrc
or .bash_profile
: export PATH=${PATH}:$(yarn global bin)
gulp
globally: yarn global add gulp-cli
hugo
(see http://gohugo.io/overview/installing/) - beware of certain version problems on Debian/Ubuntu.yarn
Run gulp
and open your browser at http://localhost:7000.
Run gulp build
to build site into public
directory.
To set up on your own fork for the first time:
$ git clone git@github.com:<USERNAME>/syndesis.io.git
master/gh-pages
.$ cd syndesis.io
$ git checkout --orphan gh-pages
$ git rm -rf .
$ rm '.gitignore'
$ git commit -a -m "Setting up gh-pages branch"
$ git push origin gh-pages
$ git checkout master
$ ./publish-to-gh-pages.sh
Your published fork should now be running at https://
From the master
branch, or any branch other than gh-pages
, first update your local fork:
$ gulp build && git add -A . && git push
Then publish to GitHub pages with:
$ ./publish-to-gh-pages.sh
We use BrowserStack to test the community site across major browsers.