Update local site building instructions

This commit is contained in:
Divay Prakash 2018-11-18 00:32:47 +05:30
parent bcd10cdd36
commit 195e46d15f

View File

@ -89,9 +89,14 @@ You can buid the site locally to test your changes. Follow the steps below.
* Install Middleman and other required dependencies using Bundler.
* `cd learnxinyminutes-site/`
* `bundle install`
* Checkout the [learnxinyminutes-docs](https://github.com/adambard/learnxinyminutes-docs) repo as `source/docs`.
* `cd source/docs/`
* `git clone https://github.com/adambard/learnxinyminutes-docs ./source/docs/`
* Get the source in place
* Copy the contents of your clone of the fork of learnxinyminutes-docs repo
into the `source/docs` folder. There shouldn't be a learnxinyminutes-docs
folder inside the `docs` folder, it should just contain all the repo
contents.
* Checkout your fork of the learnxinyminutes-docs repo as `source/docs`.
* `cd source/docs/`
* `git clone https://github.com/YOUR-USERNAME/learnxinyminutes-docs ./source/docs/`
* Build the site or run a development server to test your changes (NOTE: run
these commands at `learnxinyminutes-site/`).
* Build - `bundle exec middleman build`