#BSK
Backbone - Starter Kit for Frontend
##Table of Contents
- Folder Structure
- Instalation
- Gulp Task
Folder structure options and naming conventions for software projects
.
├── bower_components # Bower Components
│
├── dist # Compiled files (alternatively `build`)
│ ├── css # Css
│ ├── fonts # Fonts
│ ├── img # Images
│ └── js # JavaScript
│
├── docs # Documentation files (alternatively `doc`)
│
├── gulp-tasks # Gulp Task
│ └── templates # Templates
│
├── src # Source files (alternatively `lib` or `app`)
│ ├── fonts # Fonts
│ ├── img # Images
│ ├── js # Javascript
│ ├── sass # Sass
│ └── templates # Templates
│
├── test # Automated tests (alternatively `spec` or `tests`)
│ ├── benchmarks # Load and stress tests
│ ├── integration # End-to-end, integration tests (alternatively `e2e`)
│ └── unit # Unit tests
│
├── tools # Tools and utilities
│
├── LICENSE
├── README.md
├── bower.json # Bower file
├── config.js # Config Gulp
├── config.rb # Config Compass
├── gulpfile.js # Gulpfile
└── package.json # Node modules
Run the following commands:
-
cd folder
-
sudo npm run install
-
bower install
-
gulp
-
Navigate to:
http://localhost/yourproject/
This task run basic components to compile SASS files and reload your browser with the last version of the code:
gulp
This will be watching for changes in SASS files and changes into dist/css,
dist/jsand
views` folders.
This will be watching for changes in SASS files to generate CSS files:
gulp compass
If you want to have the latest version of the code in the browser, make sure to run this command:
gulp watch
This will be watching for changes in dist/css,
dist/jsand
views` files.
##License
MIT © argordmel