generator-tmj-mean v1.2.5
TMJ Mean Stack Framework Generator
Mean Stack Framework Generator using Yeoman
Getting Started
You will need to install yeoman using npm. Be sure to have NodeJS installed before doing it so.
npm install yo -gLocally
You need to download or clone this to a new project locally name it generator-tmj-mean. Then run it in git shell.
git clone https://github.com/TMJPEngineering/generator-tmj-mean.git > generator-tmj-meanGo to the root directory of this project, then type:
npm linkThat will install this generator dependencies and symlink a global module to your local file. After npm is done your good to go to your project.
Globally
Or if you don't want to download or clone this, you can install it using npm:
npm install -g generator-tmj-meanUsage
In your project, you can create a mean stack framework.
yo tmj-meanOnce it finished, run this command:
For development:
gruntFor production:
grunt prodBe sure to have grunt installed before doing it so.
Before you start your application, check first if you have nodemon. If not, install this:
npm install -g nodemonThen finally, start your application by running this command:
nodemonTesting
This project used jasmine as a testing framework. Before you make a test, you need to install karma globally. Feel free to modify your own configuration in karma.conf.js.
After that, you can now run test by this command:
karma startFolder Structure
├── config/
│ └── lib/
├── modules/
│ ├── Core/
│ │ ├── Client/
│ │ └── Server/
│ ├── Shared/
│ ├── User/
│ └── Welcome/
├── * public/
│ ├── * assets/
│ │ ├── * bootstrap/
│ │ ├── * css/
│ │ ├── * fonts/
│ │ └── * js/
│ └── * dist/
├── resources/
│ ├── assets/
│ │ └── fonts/
│ └── views/
│ └── welcome/
└── vendor/NOTE: This asterisk symbol shows that it will be generated using grunt.
Issues
- MongoError: failed to connect to server localhost:27017 on first connect
- If this error shows up in your terminal, you need to install
MongoDBthen run themongodserver. See here for installation.
- If this error shows up in your terminal, you need to install
- Any other issues, post it here then assign me.
Credits
License
This project is licensed under the MIT License - see the LICENSE for details
Copyright (c) 2017 TMJ Philippines
8 years ago
8 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago