Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/whitead/my-struts
Finally put together all the crap needed to make a nice website
https://github.com/whitead/my-struts
Last synced: about 1 month ago
JSON representation
Finally put together all the crap needed to make a nice website
- Host: GitHub
- URL: https://github.com/whitead/my-struts
- Owner: whitead
- Created: 2015-05-02T17:20:26.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-05-02T17:41:42.000Z (over 9 years ago)
- Last Synced: 2024-10-16T02:59:08.511Z (3 months ago)
- Language: JavaScript
- Size: 227 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
My Struts
=====Website struts
my-struts/
|
|----assets/ #Contains any site assets (images, css, templates, etc)
| |
| |----css/ #location of .css and .less files
|----build/ #where build will be generated
|----html/ #where html is found
|----js/
| |
| |----header.js #Will be put on top of all js files
|----vendor/ #Contains any js libraries
|
|----Gruntfile.js #Grunt file for building
|----.jshintrc #jshint run configuration
|----package.json #Config file for npm
Build Instructions
----
After installing `nodejs` and `npm`:npm install grunt-cli
npm install
gruntAt this point, a preview should exist at `http://localhost:4000`.
LESS/CSS
----Put into `main.less` in `assets/css`.
JS
----Put into possibly separated prefixed files in `js/`. For example,
`WL-Math.js` would be a file. The build puts them alll into a
single file.HTML
----Nothing special, just that it will switch out the `base.js` file with
`base.min.js` when switching to product mode. The un-minified allows
you to debug on Chrome for example.