internetee-registry/doc/whois.rm
2014-11-11 17:00:41 +02:00

23 lines
827 B
Text

Connection with whois
------------------------------------
The easiest way to get started without whois is to change Settings.whois_enabled to false. But like expected,
that disables whois (effects should fully be loaded after restarting the app)
What whois_enabled=false does is that the whois callback does not get included.
Delayed jobs migration and everything else will still be installed tho.
If you wish to use the whois module, tho, you need a whois database looking something like this
```ruby
create_table :domains do |t|
t.string :name
t.text :body
t.timestamps
end
```
NB! Migration with rake tasks is available in whois app repo.
For development, delayed_job queue can be handled by rake task
`rake jobs:work` or if you wish to be fancy you can use a daemon with `bin/delayed_job start`
``