From aac13dcdcabb2f975cf7a27b64dae24a37c27517 Mon Sep 17 00:00:00 2001 From: Milo Todt Date: Sat, 12 Jan 2019 08:26:31 -0800 Subject: [PATCH] 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.