DokkuClient
DokkuClient ... This gem for now assumes that you have installed these plugins: (memcached, mongodb, mysql, postgresql, redis)
Installation
Install it yourself as:
$ gem install dokku_client
Configuration
$ dokku reconfig
You will be asked for your dokku host and project name which will be stored in your application .git/config
Show help
dokku help
or
dokku --help
Available commands (aliases to commands in brackets)
dokku
logs (l)
run (r) <command>
url (u)
plugins (p)
config (c)
rc <env>
rdm
get_config (gc) <KEY>
set_config (sc) KEY=VALUE [KEY2=VALUE2]
unset_config (uc) KEY [KEY2]
create_mem
delete_mem
info_mem
logs_mem
link_mem <container>
create_mongo
delete_mongo
link_mongo
logs_mongo
list_mongo
status_mongo
create_postgres <db>
delete_postgres <db>
info_postgres <db>
list_postgres
logs_postgres <db>
link_postgres <db>
Roadmap
0.7 Current release
- TODO more commands (redis , mysql)
0.6
- rails console commands
0.5
- small updates
0.4
- fix mongodb commands
- postgresql commands
0.3
- mongodb commands
0.2
- delegate methods
- memcached commands
- more common commands
0.1
- gem basic structure
- logs command
- config option per project
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Thanks
This gem is inspired by https://github.com/lubieniebieski/pivo_flow. Thanks to it's author for the inspiration and idea.