Castle Playground
-
Initialize the Rails environment:
bundle install rake db:setup
-
Create an account at Castle.
-
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
-
Contact us if you have any questions.