From bb7749c829eab94e499ff60094b709a2b8886ae3 Mon Sep 17 00:00:00 2001 From: Andrew Miner Date: Wed, 22 Jun 2016 21:21:26 -0700 Subject: [PATCH] Updated Adding support for a new Mod (markdown) --- Adding-support-for-a-new-Mod.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Adding-support-for-a-new-Mod.md b/Adding-support-for-a-new-Mod.md index a2bbf2b..959a2ba 100644 --- a/Adding-support-for-a-new-Mod.md +++ b/Adding-support-for-a-new-Mod.md @@ -6,10 +6,17 @@ Create a fork of this repo in which to make your changes. If you're not sure ho ## 2. Set up your environment -Crafting Guide comes with a number of different command-line scripts for processing data and testing. You'll need to get your machine set up with a few command-line tools to run them before you can begin. Start by downloading [Node.js](http://nodejs.org/download/) for your OS and installing it. Next, open a terminal and navigate to your new local repo. Run the following commands to get the rest of the tools you need and build everything locally. +Crafting Guide comes with a number of different command-line scripts for processing data and testing. You'll need to get your machine set up with a few command-line tools to run them before you can begin. + +Start by checking to see if you already have Node.js or Ruby installed on your machine by running the following commands: `which node` and `which ruby`. If you have them installed, you'll see where they're installed. If you don't have them, then there will be no output. If either is missing, download and install the most recent version of each from their websites: [Node.js](http://nodejs.org/download/) and [Ruby](https://ruby-lang.org). + +Next, open a terminal and navigate to your new local repo. Run the following commands to get the rest of the tools you need and build everything locally. ```bash +sudo npm install -g browserify sudo npm install -g coffee-script sudo npm install -g grunt-cli +sudo npm install -g nodemon +gem install sass --version "= 3.4" cd ../crafting-guide-data npm install grunt test