Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.49 KB

README.md

File metadata and controls

35 lines (23 loc) · 1.49 KB

GeneratedPersonApp

What is this?

This is a generated jiffy application based on the jiffy simpleSingleEntityModel.json model.

What to do

Open a terminal window, switch to a folder under $GOPATH/src/ and perform the following:

    go get -u github.com/1414C/GeneratedPersonApp

Edit the .dev.config.json file and verify the following:

  1. Set the "external_address" value to an ipv4 address that jiffy can bind the service end-points to.
  2. Edit the "database" sub-keys to aim at the database of your choosing as per the Jiffy configuration documentation.
  3. Edit the "logging" sub-keys as per your requirements. The initial settings are probably fine to start with.
  4. Everything else should be fine.

Running the Application

Review the content of the Jiffy docs starting at the Let's Run Something section. Switch to the folder you installed the application source code in and run the following:

    go run main.go -dev -rs

Once the application is running, continue to follow the tutorial in the Getting Started section to start testing the application via Postman or your favorite test tool.

Subsequent starts of the application should omit the -rs flag as follows:

    go run main.go -dev