Installation

    Requirements

    The Hemlock framework has a few system requirements that you need to have before starting.

    • Go 1.9+
    • Git version control system

    Command Line Tools

    You can use go get to install the hemlock command line tools.

    go get -u github.com/gschier/hemlock/cmd/hemlock
    

    Create a New App

    Create a new project with the hemlock new command in the directory of your choice. If the directory does not exists, Hemlock will create it.

    hemlock new path/to/new/project
    

    Running Your App

    Hemlock provides a hemlock serve command that can be used to run your app. If the --watch flag is used, Hemlock will also automatically restart the server when relevant files are changed.

    cd path/to/new/project
    hemlock serve --watch