From 868d9af3cb2784febb8d09a99f8240b066d0ad28 Mon Sep 17 00:00:00 2001 From: Meet Gor <40317114+Mr-Destructive@users.noreply.github.com> Date: Sat, 23 Oct 2021 23:45:32 +0530 Subject: [PATCH] Added docs for running locally (#8852) Merge pull request 8852 --- docs/_docs/github-pages.md | 11 +++++++++++ 1 file changed, 11 insertions(+) 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. +