Source of the main website for Epicrowd simposium.
-
After install run the
npm install
command to install all the dependencies.$ npm install
-
Run
grunt
command to initialize.$ grunt
-
We use bower to manage all the dependencies.
$ bower search name-package $ bower install name-package --save-dev
-
We use grunt to make hard work.
-
We work with two paths for images:
src
to images in development.dist
to images in production.
run
grunt img
command to minify and optmize images.
- We use browserSync to test in differents browsers and devices.
remove this script when production server.
<script type='text/javascript'>//<![CDATA[
;document.write("<script defer src='//HOST:3000/socket.io/socket.io.js'><\/script><script defer src='//HOST:3001/client/browser-sync-client.0.9.1.js'><\/script>".replace(/HOST/g, location.hostname));
//]]></script>
- For best control of scripts, add libs and your scripts to compile and concatenate in
grunt-config.json
file, the task uglify.