This is a Dgraph repository which is built with Lifeboat - Jade.
-
Install npm from here
-
Install grunt with
npm install -g grunt-cli
-
Install required grunt-related libraries with
npm install
.
To run main grunt task, use grunt watch-files
command.
All assets source files are located in /source/less, js, images
and built files are located in /assets/css, js, images
.
Jade pages are located in source/site-pages
, while builds (HTML pages)* are placed in the root directory.
Inside assets/js
you can see folder named unminified
which holds unminified javascript which is used on this project.
CSS/HTML/JS structure is taken from adishap who helped isolating this section from the previous Dgraph website version. HTML and CSS is additionally modified in order to adapt the visual style presented in the mockups. Except CSS, we didn't include files in our build process; we placed them in assets/
:
css/demo-section
– but we didn't reference these files. Since there is a ton of unnecessary CSS properties (~255kb), we copied only necessary ones and placed them insidesource/less/vendor/demo-section/_demo-section.less
.js/demo-section
fonts/demo-section
- LESS — CSS Preprocessor
- Jade — Jade Templating Language
- NPM — Node Package Manager
- Grunt.js — JavaScript Task Runner
- Surge — Deploy projects to a production-quality CDN
For more information about each of the mentioned tool see Tools and Services Page.
Superawesome Team
email: dudes@sprawsm.com
Danijel Grabež
email: danijel@sprawsm.com