barebones-kit v0.0.1
barebones - A lightweight project starter kit
This is a project I developed for my own purposes. I use this template as a starting ground for new projects that involve some kind of JavaScript or web application. Hope it is as useful to you as it is to me :)
Requirements
- NPM (node packet manager)
- Docker
- gulp-cli (
npm install --global gulp-cli
)
Getting started
To install barebones, simply run the following command.
npm install barebones-kit -g
In a directory where you want to start a new project, simply run:
make-barebones
After having created your barebones folder, run the following command
gulp docker-build && gulp docker-launch
to build the docker image and run it. Notice, you need Docker installed for this to work.
There you go. Now you should've a webserver on port 80 running with the site. Visit http://localhost/ and see for yourself.
Once you ran the command docker-launch
, your browser should open up and you should be able to see this Getting started guide on configuration.
Developing
To start the development environment just use the default
gulp watch
to watch for file changes and build accordingly.
Alternatively:
gulp js
gulp css
That's it for the development.
6 years ago