hazdev-template

1.4.0 • Public • Published

hazdev-template

Lightweight php template framework

Using the template

Installing the template

Working on the hazdev-template project:

Dependencies:

  1. Node, NPM
  2. Sass, Compass
  3. PHP-CGI 5.4+

Getting Started:

  1. Install NPM dependencies

    npm install

  2. Preview in a browser

    grunt

    On windows, gateway has trouble resolving default documents and you need to change the opened url to http://localhost:8080/index.php.

Example usage

The template comes with a styleguide providing examples:

  • css/index.scss defines css variables, and includes the template sass partial
  • _config.inc.php configures site wide settings
  • _navigation.inc.php configures left navigation
  • index.php includes the template

Dependencies (12)

Dev Dependencies (9)

Package Sidebar

Install

npm i hazdev-template

Weekly Downloads

38

Version

1.4.0

License

CC0-1.0

Unpacked Size

1.08 MB

Total Files

115

Last publish

Collaborators

  • ehunter-usgs
  • emartinez-usgs
  • jdbrown-usgs
  • jmfee-usgs
  • lisa-usgs