Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 96224d8

Browse files
Updated README.md
1 parent e353ee6 commit 96224d8

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

imageboard/README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Notable features:
1313

1414
## Running
1515

16-
Note: Perform steps 3 - 6 with your working directory set to the folder containing this README:
16+
Note: All commands entered need to be performed from within *this directory*.
1717

1818
1. Install MongoDB if necessary (see http://docs.mongodb.org/manual/installation/ )
1919

@@ -29,15 +29,22 @@ Note: Perform steps 3 - 6 with your working directory set to the folder containi
2929
<MONGO_INSTALL_DIRECTORY>/bin/mongorestore dump
3030
```
3131
32-
5. From this imageboard directory, install the app's node dependencies with the following command:
32+
5. From this imageboard directory, install the app's node dependencies, tsd, and typings with the following commands:
3333
```shell
3434
npm install
35+
npm install -g tsd
36+
tsd install
3537
```
38+
Some things to note:
39+
40+
* `npm install` will install this project's node dependencies from `package.json`.
41+
* `tsd install` will retrieve `.d.ts` files from [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped).
3642
3743
6. Compile the app with the following command:
3844
```shell
39-
tsc --sourcemap --module commonjs app.ts
45+
tsc
4046
```
47+
The above command will use `tsconfig.json` to compile all necessary files.
4148
4249
7. Launch the Node process to serve the app using the following command:
4350
```shell

0 commit comments

Comments
 (0)