From aac13dcdcabb2f975cf7a27b64dae24a37c27517 Mon Sep 17 00:00:00 2001 From: Milo Todt Date: Sat, 12 Jan 2019 08:26:31 -0800 Subject: [PATCH 1/5] Updated build.md to include directions for checking out PRs --- docs/build.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/docs/build.md b/docs/build.md index eaf94666..f60361aa 100644 --- a/docs/build.md +++ b/docs/build.md @@ -31,6 +31,34 @@ $ yarn run dev > 1. When editing a constructor method of a component > 2. When adding a new css class (similar to 1: the CSS class is re-written by each component. This process occurs at the Constructor method.) +## Accessing code used in Pull Requests +Visit the page for the pull request and look at the end of the url for the PR number +
+https://github.com/BoostIO/Boostnote/pull/2794
+
+In the following, replace with that number (no brackets). +For the above url, you would replace with 2794 + +_If you do not have a local copy the master branch yet_ +``` +git clone https://github.com/BoostIO/Boostnote.git +cd Boostnote +git fetch origin pull/2612/head: +git checkout +``` + +_If you already have the master branch_ +``` +git fetch origin pull/2612/head: +git checkout +``` + +_To compile and run the code_ +``` +yarn +yarn build +``` + ## Deploy We use Grunt to automate deployment. From 5e9bd2fd2d7a66671e7c91051366ed53984ba4d4 Mon Sep 17 00:00:00 2001 From: Milo Todt Date: Sat, 12 Jan 2019 08:34:14 -0800 Subject: [PATCH 2/5] escaped angle brackets --- docs/build.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/build.md b/docs/build.md index f60361aa..91176611 100644 --- a/docs/build.md +++ b/docs/build.md @@ -36,8 +36,8 @@ Visit the page for the pull request and look at the end of the url for the PR nu
 https://github.com/BoostIO/Boostnote/pull/2794
 
-In the following, replace with that number (no brackets). -For the above url, you would replace with 2794 +In the following, replace \ with that number (no brackets). +For the above url, you would replace \ with 2794 _If you do not have a local copy the master branch yet_ ``` From 7b8fb5644089c07f2d6300f07bd9bded4b92e91f Mon Sep 17 00:00:00 2001 From: Milo Todt Date: Sat, 12 Jan 2019 08:38:18 -0800 Subject: [PATCH 3/5] fixed error in url --- docs/build.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/build.md b/docs/build.md index 91176611..36aea9a7 100644 --- a/docs/build.md +++ b/docs/build.md @@ -43,13 +43,13 @@ _If you do not have a local copy the master branch yet_ ``` git clone https://github.com/BoostIO/Boostnote.git cd Boostnote -git fetch origin pull/2612/head: +git fetch origin pull//head: git checkout ``` _If you already have the master branch_ ``` -git fetch origin pull/2612/head: +git fetch origin pull//head: git checkout ``` From 6fb72bd44ab4428b0a66ad4a52502e7fddacfb2e Mon Sep 17 00:00:00 2001 From: Milo Todt Date: Sat, 12 Jan 2019 09:46:51 -0800 Subject: [PATCH 4/5] minor typo --- docs/build.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/build.md b/docs/build.md index 36aea9a7..08a1b5dc 100644 --- a/docs/build.md +++ b/docs/build.md @@ -39,7 +39,7 @@ https://github.com/BoostIO/Boostnote/pull/2794 In the following, replace \ with that number (no brackets). For the above url, you would replace \ with 2794 -_If you do not have a local copy the master branch yet_ +_If you do not have a local copy of the master branch yet_ ``` git clone https://github.com/BoostIO/Boostnote.git cd Boostnote From e298739cb9021a18136ab6bfded44604258b6b07 Mon Sep 17 00:00:00 2001 From: Milo Todt Date: Sat, 12 Jan 2019 12:34:25 -0800 Subject: [PATCH 5/5] fixed typo --- docs/build.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/build.md b/docs/build.md index 08a1b5dc..095f8628 100644 --- a/docs/build.md +++ b/docs/build.md @@ -56,7 +56,7 @@ git checkout _To compile and run the code_ ``` yarn -yarn build +yarn run dev ``` ## Deploy