mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-12 01:34:19 +02:00
Update local site building instructions
This commit is contained in:
@@ -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.
|
* Install Middleman and other required dependencies using Bundler.
|
||||||
* `cd learnxinyminutes-site/`
|
* `cd learnxinyminutes-site/`
|
||||||
* `bundle install`
|
* `bundle install`
|
||||||
* Checkout the [learnxinyminutes-docs](https://github.com/adambard/learnxinyminutes-docs) repo as `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/`
|
* `cd source/docs/`
|
||||||
* `git clone https://github.com/adambard/learnxinyminutes-docs ./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
|
* Build the site or run a development server to test your changes (NOTE: run
|
||||||
these commands at `learnxinyminutes-site/`).
|
these commands at `learnxinyminutes-site/`).
|
||||||
* Build - `bundle exec middleman build`
|
* Build - `bundle exec middleman build`
|
||||||
|
Reference in New Issue
Block a user