It happens sometimes that an original source code from a nice html/css/js theme doesn't provide a way to build an optimized and shippable release of the theme. Rawer is just another attempt of a builder boilerplate to help you save some time releasing your work.
As example we use HTML5UP Strata.
Rawer offers two ways of work, Dockerized (recommended) and Localized versions. With Dockerized version there is not need to install NodeJS and project global dependencies.
- Docker (https://www.docker.com/)
$ docker --version Docker version 17.03.0-ce, build 3a232c8
- Docker Compose (https://docs.docker.com/compose/)
$> docker-compose --version docker-compose version 1.11.2, build dfed245
- NodeJS (https://nodejs.org)
$> node --version v7.10.0 $> npm --version v4.2.0
Install & Build a Release
git clone https://github.com/xcafebabe/rawer.git \ && cd rawer \ && cp env-example .env \ && sudo docker-compose up
git clone https://github.com/xcafebabe/rawer.git \ && cd rawer \ && npm i gulp-cli -g \ && npm install \ && npm run build
In both approaches you will get a ready to ship version inside
By default Rawer will create a release, but you can also start Rawer in serve & watch mode in order to add more magic.
.env search property
NODE_COMMAND and replace value from
start, then just turn on your container through docker-compose (
sudo docker-composer up)
Just start the project in serve & watch mode using
In both approaches you will get current version in http://localhost:3000
- Luis Toubes - xcafebabe
This project is licensed under the MIT License - see the LICENSE.md file for details