Source of the main website for Epicrowd simposium.
-
After install run the
npm installcommand to install all the dependencies.$ npm install -
Run
gruntcommand 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:
srcto images in development.distto images in production.
run
grunt imgcommand 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.jsonfile, the task uglify.
