This repository contains an enriched version of com_anm22_wb_template_default: the starter theme for ANM22 WebBase CMS.
- WebBase engine running locally
- Node.js
Check out the WebBase Developers Guide for further information.
- Create a new repo using the "Use this template" button (or just fork it)
- Run
npm install
to initialize the development environment - Create a file
.env
in the root folder (a template is shown here) - Enjoy developing!
This repository supplies an environment to let the developer focus on code while front-end developing.
npm run build
How to develop CSS/JS and test it live (via Browsersync, already integrated):
npm run watch
NB: if you do not create a .env
file in the root or you do not specify the template directory, the commands above will compile CSS/JS to a deploy
folder
In this repo you can find the configuration for your preferred CI/CD platform.
- Copy the YAML configuration to the root of your theme repo
- Copy
deploy.sh
to the root of your theme repo
Copy all the contents of the root deploy/
to the WebBase templates path (clean out the environment files if you prefer)