THIS PROJECT HAS BEEN ARCHIVED
Please see https://code.usgs.gov/ghsc/hazdev/hazdev-template
Lightweight php template framework
- Node, NPM
- Sass, Compass
- PHP-CGI 5.4+
-
Install NPM dependencies
npm install
-
Preview in a browser
grunt
On windows,
gateway
has trouble resolving default documents and you need to change the opened url tohttp://localhost:8080/index.php
.
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