mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
Add local build instructions, closes #3396
This commit is contained in:
parent
38ece14b4f
commit
bcd10cdd36
@ -78,3 +78,21 @@ If you want to add yourself to contributors, keep in mind that contributors get
|
||||
equal billing, and the first contributor usually wrote the whole article. Please
|
||||
use your judgement when deciding if your contribution constitutes a substantial
|
||||
addition or not.
|
||||
|
||||
## Building the site locally
|
||||
|
||||
You can buid the site locally to test your changes. Follow the steps below.
|
||||
|
||||
* Install Ruby language runtime and RubyGems. See [here](https://middlemanapp.com/basics/install/) for more details.
|
||||
* Clone or zip download the [learnxinyminutes-site](https://github.com/adambard/learnxinyminutes-site) repo.
|
||||
* `git clone https://github.com/adambard/learnxinyminutes-site`
|
||||
* 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/`
|
||||
* Build the site or run a development server to test your changes (NOTE: run
|
||||
these commands at `learnxinyminutes-site/`).
|
||||
* Build - `bundle exec middleman build`
|
||||
* Dev server - `bundle exec middleman --force-polling --verbose`
|
||||
|
Loading…
Reference in New Issue
Block a user