You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-3Lines changed: 12 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -15,10 +15,19 @@ Command line interface for [CodeRoad](http://coderoad.github.io).
15
15
* Run `> npm link` to create a symbolic link to your project
16
16
* Update changes to your tutorial by running `> coderoad build`
17
17
18
-
##### Trying your Tutorial
18
+
##### Viewing/Testing your Tutorial
19
19
20
-
* Use another empty directory to test your tutorial. Run `> npm link coderoad-$NAME$` & `> npm install`. This will install your development tutorial package link as a node module.
21
-
* Open `atom-coderoad` to view the tutorial. Your package should appear as a loaded package.
20
+
* Open a new directory and run `> npm init`
21
+
* Add your package name to the `dependencies` in `package.json`:
22
+
23
+
```
24
+
"dependencies": {
25
+
"coderoad-$NAME$": "^0.1.0"
26
+
}
27
+
```
28
+
29
+
* Run `> npm link coderoad-$NAME$` & `> npm install`. This will install a package link pointing at your development tutorial.
30
+
* Open [atom-coderoad](https://github.com/coderoad/atom-coderoad) to view your tutorial. Your package should appear as a loaded package.
0 commit comments