Skip to content

ashleycaselli/com_anm22_wb_template_default

 
 

Repository files navigation

com_anm22_wb_template_default - WebBase theme

This repository contains an enriched version of com_anm22_wb_template_default: the starter theme for ANM22 WebBase CMS.

System Requirements

Check out the WebBase Developers Guide for further information.

Developing the theme

  1. Create a new repo using the "Use this template" button (or just fork it)
  2. Run npm install to initialize the development environment
  3. Create a file .env in the root folder (a template is shown here)
  4. Enjoy developing!

This repository supplies an environment to let the developer focus on code while front-end developing.

How to generate a ready-to-deploy version of CSS/JS sources:

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

Deploying

Using CI/CD tools

In this repo you can find the configuration for your preferred CI/CD platform.

  1. Copy the YAML configuration to the root of your theme repo
  2. Copy deploy.sh to the root of your theme repo

Manual upload (not recommended)

Copy all the contents of the root deploy/ to the WebBase templates path (clean out the environment files if you prefer)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 87.6%
  • CSS 4.9%
  • PHP 4.8%
  • SCSS 2.7%