Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 981 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 981 Bytes

Backend development

Build

Use go mod tidy to download all libraries.

In the project directory, you can run:

  • go build ivory - Runs the app in the development mode

Environment variables

  • IVORY_URL_ADDRESS - change tcp network address, default: :8080 (if GIN_MODE=release it either :80 or :443 when cert files are set)
  • IVORY_URL_PATH - change sub path under which Ivory serve its routes, default: /
  • IVORY_STATIC_FILES_PATH - add static files to host, default: empty
  • IVORY_CERT_FILE_PATH - provide your sever cert to enable tls, default: empty
  • IVORY_CERT_KEY_FILE_PATH - provide your server key to enable tls, default: empty
  • IVORY_VERSION_TAG - change version tag, default: v0.0.0
  • IVORY_VERSION_COMMIT - change version commit, default: 000000000000

Learn More

This app is build by:

  • Bolt - Embedded key/value database
  • Gin - Web framework