Boiler plate based on Estatico Nuo
# Optionally use Docker container, see below
# Install correct node version specified in .nvmrc with node version manager nvm
nvm install
# Install npm packages
npm installDependency: Graphicsmagick http://www.graphicsmagick.org/README.html has to be manually installed
- Run default task, building everything and starting web server:
$ npm run gulp -- --dev --watch - Run specific task: `$ npm run html -- -
See gulpfile.js for details.
npm run startnpm run buildnpm run gulp scaffold- To create a development environment archetype project for creating markup for an embedded application (Component: mdl-application) an archetype project can be created
- Modules and atoms can be included or excluded at discretion (!) Caution: some modules are depending on atoms or other modules so some combinations can not be created and will lead to build errors.
- The generated archetype can be found in the folder
dist/app_archetypeor as packagedist/app_archetype.zip
npm run archetype# Create image (only initially and after changes to the Dockerfile)
docker build -t czhdev .
# Start container and mount project directory
docker container run -it -p 9000:9000 -p 35729:35729 -v $(pwd):/app czhdev /bin/bash
# Continue above (nvm is preinstalled in the box)
# After installing the correct node version via nvm, it might be helpful to commit this new state so it is persisted for the next run:
# docker commit CONTAINER_ID czhdev