Skip to content

Deploying

Paolo Pasquali edited this page May 13, 2019 · 1 revision

Slate spits out a bunch of static HTML, Javascript, and CSS, so it's pretty trivial to host.

Publishing Your Docs to GitHub Pages

  1. Make sure you're working on a fork in your own account, not our original repo: git remote show origin.
  2. Commit your changes to the markdown source: git commit -a -m "Update index.md"
  3. Push the markdown source changes to GitHub: git push
  4. Run ./deploy.sh

NOTE: Using the git way, you should not make changes to your repo on github.com for example.

Done! Your changes should now be live on http://gfdrr.github.io/community-mapping, and the main branch should be updated with your edited markdown. Note that if this is your first time publishing Slate, it can sometimes take ten minutes or so before your content is available online. It can also take a moment even if it's not the first time.

Clone this wiki locally