Skip to content

Open Source Ruby on Rails engine to build Custom Voice Assistants

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
MIT-LICENSE
Notifications You must be signed in to change notification settings

geekdreamzz/epiphany

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Epiphany

Open Source Ruby on Rails engine to build Custom Voice Assistants

Usage

*Currently in Alpha

Installation

The configs for each model are stored in a traditional relational database. For now we are using postgres in our examples. https://medium.com/@noordean/setting-up-postgresql-with-rails-application-357fe5e9c28 Add this line to your Rails application's Gemfile:

gem 'pg'
gem 'epiphany', git: "https://github.com/geekdreamzz/epiphany.git", branch: "alpha"

And then execute:

$ bundle

generate initial models & migration

rails g epiphany:install
rake db:migrate

Mount the Engine in routes.rb, example:

mount Epiphany::Engine => "/epiphany"

You can add custom authorization logic. Let's say you had an application helper method in your app named :quick_auth which you'd like to use to enforce authentication. You can configure the Epiphany library to reference that when using the epiphany admin web interface. Add something like this in a file in the initializers directory:

Epiphany::Config.set do |config|
  config.auth = :quick_auth
end

Contributing

Send Me a Message or submit a PR :)

License

The gem is available as open source under the terms of the MIT License.