/lapis-brunch-bootstrap

A starter project for Lapis, Brunch and Bootstrap

Primary LanguageJavaScriptOtherNOASSERTION

lapis-brunch-bootstrap

Application built with Lapis, Brunch and Bootstrap running with Docker.

Features

  • Lapis is a framework for building web applications using MoonScript or Lua that runs inside of a customized version of Nginx called OpenResty.
  • Brunch for building frontend code. Support for Javascript modules and CSS. In production mode all assets are minified.
  • Bootstrap v3.3.7.
  • Docker support using docker-compose for development and production.

Getting started

  • Install (if you don't have them):
    • Node.js: brew install node on OS X
    • Brunch: npm install -g brunch
  • Install dependencies
    • Brunch plugins and app dependencies: npm install
  • Run in development mode:
    • npm start — watches the project with continuous rebuild.
    • Run the application with docker-compose -f docker-compose-dev.yml up
    • Now, you make changes to your code and just reload the page
  • Run in production mode:
    • npm run build — builds minified project for production
    • Run the application with docker-compose up
  • Learn: