Skip to content

Commit d98e2dd

Browse files
authored
docs(getting-started): add getting-started/index.md
1 parent ea1caf2 commit d98e2dd

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

docs/getting-started/index.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Getting Started
2+
3+
## Prerequisites
4+
5+
Make sure you have all the required dependencies available:
6+
7+
```bash
8+
npm install -g yo gulp-cli generator-angular-fullstack
9+
```
10+
11+
If you're using MongoDB (which you probably are), you'll have to install it from [here](https://www.mongodb.com/download-center#community).
12+
You should then run the `mongod` process, which is in `<install_path>/MongoDB/Server/<version>/bin/`. You'll also want a `/data/db` folder
13+
somewhere for Mongo to put your database in. It would be wise to make a script to automate this command, and maybe even run this script on
14+
your computer's startup. Example:
15+
16+
```bash
17+
#!/bin/bash
18+
19+
/var/lib/mongo/server/3.2/bin/mongod.exe --dbpath /data/db
20+
```
21+
22+
Make a new directory, and `cd` into it:
23+
```bash
24+
mkdir afs && cd $_
25+
```
26+
27+
Run `yo angular-fullstack`, optionally passing an app name:
28+
```bash
29+
yo angular-fullstack
30+
```
31+
32+
You'll then be asked a series of questions regarding options for the generated app. Such things include using JavaScript or TypeScript,
33+
HTML or Jade, Bootstrap, SQL, and so on. If you don't know what to answer for a question, just hitting `ENTER` will use the default options
34+
for that question, and move on to the next one.

0 commit comments

Comments
 (0)