wuno
wuno

Reputation: 9875

File Structure MEAN .IO After mean init MyApp

After setting up node bower grunt and mean I run mean init myApp which prepares me a new project. At that point I go into the app and run npm install

After my project is installed I can run the app with no problems and everything looks great. But the amount of files and folders is a bit overwhelming. I have searched for a tutorial explaining the file paths but can't find one that matches my current build after following those commands right off of the mean.io website.

 $ sudo npm install -g mean-cli 
  $ mean init yourNewApp

Someone please provide me with some documentation to read through to understand what's being installed following those commands and how to weed through it to understand how to start working with mean.io

The file structure is int he picture below.

enter image description here

Upvotes: 1

Views: 592

Answers (1)

Noy
Noy

Reputation: 1268

  • Config is for env-based and global configuration.
  • Gulp is the gulp scripts for running \ updating \ minifying
  • Logs contain the application's logs
  • node_modules contain npm dependencies (standard)
  • Packages contain core and custom packages
  • Tests contain the test configuration files
  • Tools contain general scripts like npm's postinstall actions (for example, propagating bower install to all packages)

The documentation describes the folder structure for packages (which is almost the only interesting folder in terms of functionality development): packages file structure

Also, John Webb has a couple of useful mean.io video tutorials which might help you find your way around mean.io:

  1. Getting Started
  2. Customization

Upvotes: 2

Related Questions