0.2.2 • Published 9 years ago
salamandra v0.2.2
salamandra
Do you like web apps? Do you like writing web apps? Ever thought that project scaffolding could be less painful and more straightforward?
Use salamandra to quickly make a project, easily create pages and serve the app with express.
NOTE: this module is work in progress
Install
npm install salamandra --saveInit project
salamandra initCreate pages
salamandra page <name>Run
node appDevelopment
Install gulp
npm install gulp --saveCreate a page (edit it at pages/home/).
salamandra page homeInitialize the new page's static assets
gulp compileAdd the new page's route to the app (app.js)
require("./pages/home/route")(app)Run the development environment
node app devRun gulp to watch files and compile on change
gulpOpen localhost:8000/home.
Docs
Check out the docs for more!
Licence
MIT