On Trust & Transparency: Perspectives from Luminate’s portfolio
- Add your development url and baseurl in
- Fetch and update bundled gems by running
- Fetch and update npm packages by running
- Run the server with
bundle exec jekyll serve. Your server will run at http://localhost:4000/DEV-BASEURL/
- You can also use gulp for live reloading via browsersync.
gulpwill run at http://localhost:3000. The gulp build task will use the blank url and baseurl in
Add your production url and baseurl in
To deploy your site, run
The gulp-gh-pages plugin stores a cache of the repo automatically in a
.publish folder, which throws this error when you try to deploy after deleting your gh-pages branch. This error occurs when there is no remote gh-pages branch.
Error in plugin 'gulp-gh-pages' Message: Command failed: git pull Your configuration specifies to merge with the ref 'refs/heads/gh-pages' from the remote, but no such ref was fetched. Details: killed: false code: 1 signal: null cmd: git pull
To fix this, delete the
.publish folder in the root of the directory and then run
gulp deploy again.