h5gs

1.0.58 • Public • Published

H5GS Overview

Installation

Requires the installation of Node JS. Once installed open your terminal and run:

npm install -g grunt h5gs

h5gs Command Line

The h5gs CLI has the following commands:

h5gs create sitename                 # Create a new h5gs directory/site at "sitename".
h5gs serve [port]                    # Serves a h5gs site locally on the optional port. Default port is 2002.
h5gs deploy                          # Packages local, deploys to the live server, and runs a new build.
h5gs update                          # Updates the site directory you're in to use the latest h5gs runserver code libraries.

# h5gs init creates the secret key file for a local site that doesn't have one (say a github clone).
# init must be run in an existing h5gs directory.

h5gs init

Grunt commands in the local server

The following grunt commands are supported.

grunt clean                       # Deletes the files in the .build/ directory.
grunt scaffolding:typename        # Generates scaffolding HTML for a passed content-type from the CMS.
grunt build                       # Runs clean, and then rebuilds the .build/ directory.

Package Sidebar

Install

npm i h5gs

Homepage

h5.gs/

Weekly Downloads

11

Version

1.0.58

License

MIT

Last publish

Collaborators

  • h5gs