Requirements: Node, npm, git.
Run the following terminal commands to get started:
git clone https://github.com/mozilla/network.git
cd network
npm start
This will install all dependencies, build the code, start a server at http://127.0.0.1:2017, and launch it in your default browser.
HTML is generated from Pug templates (formerly known as Jade).
Localized strings are pulled from Java .properties files located in /locales
.
CSS is generated from Sass. The Mofo Bootstrap theme is pulled in by default.
.
├── dest <- Compiled code generated from source. Don't edit!
├── locales <- Localized strings (Java .properties syntax)
├── scripts <- Scripts run by npm tasks
└── source <- Source code
├── images <- Image assets
├── pug <- Pug/Jade templates
└── sass <- Sass code
TODO: Add the specifics for deployment.