diff --git a/docs/_docs/github-pages.md b/docs/_docs/github-pages.md index 4b09b6a2..30c32d26 100644 --- a/docs/_docs/github-pages.md +++ b/docs/_docs/github-pages.md @@ -118,3 +118,14 @@ to see more detailed examples. Windows-specific docs page.

+ +### Running and Testing Locally + +Once the project is configured with the github-pages environment, it's quite hard to switch back and forth with the local settings and the production-level settings. For that we can use certain CLI options to make the workflow hassle-free. + +``` +bundle exec jekyll serve --baseurl="" +``` + +This will run the jekyll server on your local machine i.e. on `http://localhost:4000`. Refer server options for available options. +