Last active
August 29, 2015 14:18
-
-
Save relaxedtomato/0e9daeeb7af4c4e65fbb to your computer and use it in GitHub Desktop.
Basic MEAN Stack Scaffold
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Place file named as 'dir.sh' on main directory and run bash dir.sh | |
#ensure to include 'dir.sh' with .gitignore | |
# Create Folders | |
mkdir -p app/{models,routes} | |
mkdir -p config | |
mkdir -p config/api | |
mkdir -p public/{css,js/{controllers,directives,services,templates,factories},img,views} | |
mkdir -p server | |
mkdir -p server/models | |
# Create Initial Files (require to git commit empty folders) | |
touch seed.js | |
touch app.js | |
touch public/views/index.html | |
touch server/models/index.js | |
touch server/models/app.js | |
touch app/routes/index.js | |
touch app/models/index.js | |
touch public/css/main.css | |
touch public/js/controllers/controller.js | |
touch public/js/factories/factory.js | |
touch public/js/directives/directive.js | |
touch public/js/services/service.js | |
touch public/js/templates/template.html | |
touch public/js/app.js | |
touch seed.js | |
touch .gitignore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment