Skip to content

webboilerplate/web-boilerplate

Repository files navigation

Web Boilerplate

Web Boilerplate is a starting point for HTML5 web development.

You can kick off your next web / app front-end project without the timecost of setting up a fresh project with its file structure, building tasks, core files and core contents, SEO specific meta tags and accessibility, dependencies, deployment and so on...

Tooling / Technologies / Libs (core only)

Setup

Install Docker

Development

You can either use the web-boilerplate image from docker-hub or create your own images using the included Dockerfile

Docker Compose

simply run: docker-compose up

Pull the web-boilerplate docker image from docker-hub and start development

docker run -p 3000:3000 -p 3001:3001 --name web-boilerplate -v $(pwd)/src:/app/src --sig-proxy=false soenkekluth/web-boilerplate npm run dev

if needed you can mount more than just the src folder. for example:

docker run -p 3000:3000 -p 3001:3001 --name web-boilerplate -v $(pwd)/src:/app/src -v $(pwd)/gulp:/app/gulp -v $(pwd)/server:/app/server -v $(pwd)/lib:/app/lib -v $(pwd)/test:/app/test -v $(pwd)/package.json:/app/package.json -v $(pwd)/.babelrc:/app/.babelrc --sig-proxy=false soenkekluth/web-boilerplate npm run dev

Or build your own Docker Image

docker build -t web-boilerplate .

docker run -p 3000:3000 -p 3001:3001 --name web-boilerplate -v $(pwd)/src:/app/src --sig-proxy=false web-boilerplate npm run dev

Distribute

docker run --rm -v $(pwd)/src:/app/src -v $(pwd)/dist:/app/dist soenkekluth/web-boilerplate npm run dist

sass vs stylus

sass (scss) is used as the default preprocessor to generate your css files. if you want to use stylus instead just run : docker run .... web-boilerplate PREPROCESSOR=stylus npm run dev

Server Configs

if you may need any... https://github.com/h5bp/server-configs/

Frontend Coding Guidelines

About

Web Boilerplate - codebase for front-end web development.

Resources

License

Stars

Watchers

Forks

Packages

No packages published