Skip to content

dmonay/website

Repository files navigation

Dgraph

This is a Dgraph repository which is built with Lifeboat - Jade.

Installation

  1. Install npm from here

  2. Install grunt with npm install -g grunt-cli

  3. Install required grunt-related libraries with npm install.

Building the assets

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.

NOTICE regarding demo/console section

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 inside source/less/vendor/demo-section/_demo-section.less.
  • js/demo-section
  • fonts/demo-section

Resources and tools

  • 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.

Author

Superawesome Team
email: dudes@sprawsm.com
Danijel Grabež
email: danijel@sprawsm.com

About

Code for the Dgraph website.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published