Before you start, make sure to run bundle
Next, rename config/mongoid.yml.sample
to mongoid.yml
Also rename .env.sample
to .env
and set the appropriate environment variables.
Run the following from Terminal to initialize basic commands:
ruby db/commands/import.rb
Deploy to your favorite hosting environment and set up incoming and outgoing integrations with Slack according to their documentation.
If you're using Heroku, be sure to copy the relevant values from the .env
file to your application's configuration.
irb -r ./alice.rb
message = Message::Message.new("coraline", "Alice, who is @alva?")
::Message::Command.process(message)