| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [View Raw Code] [Original HTTPS Page] |
Make sure you have all the required dependencies available:
npm install -g yo gulp-cli generator-angular-fullstackIf you're using MongoDB (which you probably are), you'll have to install it from here. You should then run the mongod process, which is in <install_path>/MongoDB/Server/<version>/bin/. You'll also want a /data/db folder 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 your computer's startup. Example:
#!/bin/bash
/var/lib/mongo/server/3.2/bin/mongod.exe --dbpath /data/dbMake a new directory, and cd into it:
mkdir afs && cd $_Run yo angular-fullstack, optionally passing an app name:
yo angular-fullstackYou'll then be asked a series of questions regarding options for the generated app. Such things include using JavaScript or TypeScript, 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 for that question, and move on to the next one.
| Back | FazBrowse Home | New Git URL |