Skip to content
This repository was archived by the owner on Mar 27, 2023. It is now read-only.

Latest commit

 

History

History
25 lines (17 loc) · 511 Bytes

File metadata and controls

25 lines (17 loc) · 511 Bytes

Castle Playground

  1. Initialize the Rails environment:

    bundle install
    rake db:setup
    
  2. Create an account at Castle.

  3. Once you have your Castle credentials, start the Rails server with the following environment variables:

    CASTLE_APP_ID=100000000000000
    CASTLE_API_SECRET=secret
    

    For example:

    CASTLE_APP_ID=100000000000000 CASTLE_API_SECRET=secret rails s
    
  4. Contact us if you have any questions.