Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

Latest commit

 

History

History
28 lines (23 loc) · 713 Bytes

README.md

File metadata and controls

28 lines (23 loc) · 713 Bytes

Hello Iodized

Sample application that uses Iodized2 as a source of feature flags.

Usage

Several environment variables are supported. They all have default values which make running this server in development easier. They will all need to be specified in a production environment.

  • IODIZED_URL
    • the websocket URL
    • defaults to ws://localhost:4000/features_socket/websocket
  • IODIZED_KEY
    • the key registered in Iodized
    • defaults to key
  • IODIZED_SECRET
    • the secret associated with the key
    • defaults to secret
# optionally, set up ENV vars:
> IODIZED_URL=<websocket URL>
> IODIZED_KEY=<client key>
> IODIZED_SECRET=<client secret>
# run the server:
> bundle exec rackup