disciple v0.0.8
Disciple 0.0.8
Starter web app template.
Installation
This is not meant to be installed into a project but downloaded directly into a new directory, and started from there.
Usage
Once this has been downloaded, navigate to the path in your terminal and npm install, then npm start. It will load a local server broadcast on your current IP port 8080.
Configurations can be changed within the file config.coffee.
Technology
These tools, together, provide a fundamental basis for building modern web apps:
It is recommended to read up on each of these
Brunch builds the project and runs a local server.
brunch-signaturecreates a signature file (public/app.signature) that can be used for cachebustinggzip-brunchcreates a.gzversion of all files within thepublicfolderterser-brunchcompresses all JavaScript filespugjs-brunchlets developers use.pugtemplate files
Riot allows a developer to compose reusable modular systems that can interoperate nicely.
riot-parentsprovides{ this.parents(x) }syntax for accessing parent variablesriot-routeprovides<Router><Route path='/'>...</Route></Router>tags
PostCSS lets us handle complex meta functions for stylesheets. Multiple have been installed and added to the config file for various reasons.
perfectionistpretty-prints stylesheetscssnanocompresses stylesheetspixremprovides apxfallback forremvaluesrucksack-cssprovides additional classes and functionsprecssprovides a bunch of sass-like utilities such as $variables and & nestingimmutable-cssprovides warnings when we overwrite base styles, can invoke an errorpostcss-insertprovides the@insertsyntax to inject classes into arbitrary selectorspostcss-importlets us@importother files and dependenciespostcss-hocusprovides the:hocusand:pocuspseudoelements for us to usepostcss-uncss(withuncss) removes all unused
Tachyons provides utility classes to our CSS. This is imported into the main app.css file and can be replaced.