Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/openclassrooms/html-less-boilerplate
https://github.com/openclassrooms/html-less-boilerplate
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/openclassrooms/html-less-boilerplate
- Owner: OpenClassrooms
- Created: 2015-01-12T11:13:14.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-12T11:34:08.000Z (almost 10 years ago)
- Last Synced: 2024-03-26T03:58:32.683Z (8 months ago)
- Language: JavaScript
- Size: 148 KB
- Stars: 2
- Watchers: 11
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Requirement
You must have *bower* and *grunt* installed locally :
```
npm install -g bower
npm install -g grunt-cli
```
# Installation
then install dependencies, CD in your directory :
```
npm install
bower install
```#Usage
Main static files are in the ```src``` folder. This is where you can add / modify your html/img/js files.
Less files are in the ```less```directory.
When building the app, all src files are copied in a ```build```folder at the root, Less files are compiled into one single css file in ```build/css/main.css```A basic cache busting is used to prevent css caching between builds (a timestamps is appended to the stylesheet link)
You can start a development server with :
```
grunt server
```This will open your browser to the index.html page and live reload the whole page when you change something.