Updated Adding support for a new Mod (markdown)
This commit is contained in:
@@ -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
|
## 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
|
```bash
|
||||||
|
sudo npm install -g browserify
|
||||||
sudo npm install -g coffee-script
|
sudo npm install -g coffee-script
|
||||||
sudo npm install -g grunt-cli
|
sudo npm install -g grunt-cli
|
||||||
|
sudo npm install -g nodemon
|
||||||
|
gem install sass --version "= 3.4"
|
||||||
cd ../crafting-guide-data
|
cd ../crafting-guide-data
|
||||||
npm install
|
npm install
|
||||||
grunt test
|
grunt test
|
||||||
|
|||||||
Reference in New Issue
Block a user