• This repository has been archived on 09/Nov/2017
  • Stars
    star
    233
  • Rank 171,413 (Top 4 %)
  • Language
    Ruby
  • License
    MIT License
  • Created about 10 years ago
  • Updated about 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Dokku Provisioning Made Easy

Dokkufy

Gem Version Code Climate

A Dokku toolbelt inspired by the Heroku toolbelt

Installation

gem install dokkufy

Basic usage

Want to build your own Heroku? Dokku and Dokkufy make this possible.

  1. Spin up a Ubuntu 12.04 or 14.04 server
  2. Dokkufy your server using dokkufy server
  3. Change directories to your app
  4. Dokkufy your app dokkufy app
  5. Deploy your app git push dokku master

Commands

Most commands take their parameters as command line arguments or through an interactive prompt.

dokkufy <command>
  help              shows this list
  server            installs Dokku on a Ubuntu 12.04 or 14.04 server
  server:upgrade    upgrades a Dokku server
  plugin:list       shows a list of Dokku plugins
  plugin:install    installs a plugin on the server
  plugin:uninstall  uninstalls a plugin on the server
  app               adds a dokku remote for a server to an app
  app:clear         removes a dokku remote for a server for an app

dokkufy server

dokkufy server <hostname> <username> <domain> --version <version>

Installs Dokku on server at IP or Hostname <hostname>, using the <username> account to install the software.

It also sets up the app on domain <domain>, resulting in all apps being served as a subdomain of that domain.

Optionally this takes a <version> to specify the Dokku tag.

dokkufy plugin:list

dokkufy plugin:list

Lists all plugins as listed on the Dokku wiki. Only supports plugins that follow the standard install procedure.

dokkufy plugin:install

dokkufy plugin:install <plugin_name_or_id> [<hostname> <username>]

Installs a Dokku plugin either by name or ID (as received by dokkufy plugin:list) on a server. Only supports the standard install procedure. Check the plugins wiki for any additional install notes.

dokkufy plugin:uninstall

dokkufy plugin:uninstall <plugin_name_or_id> [<hostname> <username>]

Uninstalls a Dokku plugin either by name or ID (as received by dokkufy plugin:list) on a server. Simply performs a delete of the folder. Server instances already deployed with this plugin will need to be redeployed.

dokkufy app

dokkufy app <git_repo> [OR <hostname> <dokku_username>]

Adds a dokku remote to the local git repository for an app. Also writes this remote to a .dokkurc file.

dokkufy app:clear

dokkufy app:clear

Removes any dokku remotes for the local git repository and deletes the .dokkurc file.

Release notes

  • 0.2.1 Updated the Plugin URL
  • 0.2.0 Dropped Toolchain functionality in favor of other tools
  • 0.1.6 Locking dependencies down further
  • 0.1.5 Using classic style commander
  • 0.1.4 Checks for SSH key before installing on server
  • 0.1.3 Applies double install fix on 14.04
  • 0.1.0 Adds the dokku command
  • 0.0.7 Adds the (un)dokkufication of apps
  • 0.0.6 Adds plugin uninstall
  • 0.0.5 Small bug fix to plugin installs
  • 0.0.4 Adds plugin listing and installing
  • 0.0.3 Determines latest version from Dokku github page
  • 0.0.2 Added server command
  • 0.0.1 Gem skeleton

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

See LICENSE

More Repositories

1

hackcoc

βš– A generic and configurable Code of Conduct for hackathons
CSS
69
star
2

primo

A configurable default Rails stack using application templates
Ruby
53
star
3

record-rtc-experiment

An experiment on using RecordRTC to record short videos and upload them to a server
JavaScript
28
star
4

json-bloomfilter

πŸ—œ A bloom filter implementation in Ruby and Javascript that is serialisable to JSON and compatible between both languages.
Ruby
15
star
5

virgil-rails-chat

End-to-end encrypted messaging using Virgil Security, Rails, ActionCable and jQuery
Ruby
6
star
6

doxie

Ruby Doxie API library for getting scans off your Doxie scanner πŸ–¨
Ruby
5
star
7

paypal-php-rest-login

Example that shows how to use the PayPal REST API with the PHP SDK to let a user log in with PayPal
PHP
4
star
8

login-with-paypal-demo-rails

A demo Login With PayPal site using Rails and Omniauth
Ruby
4
star
9

uclapi

Ruby API library for the UCL API
Ruby
4
star
10

volt-braintree

Unofficial Braintree component for Volt that provides you with a way to load the Braintree v.zero Drop-in with just a few lines of code.
Ruby
3
star
11

flow2

A simple, in-progress multi-user blog/community system
Ruby
3
star
12

ahotw

[Inactive] A mobile version of the History of the World in 100 Objects site. Winner of the London History Hackday 2011. Rewritten in Rails in 2012.
Ruby
2
star
13

doxie-scanner

πŸ–¨ A network scanner to find your the Doxie Go Wifi.
Ruby
2
star
14

smule_scraper

[Inactive] A simple Scraper for Smule.com
JavaScript
2
star
15

sinatra-letsencrypt-heroku-demo

Using LetsEncrypt with Sinatra on Heroku
Ruby
2
star
16

json-schema-sensitivity-checker

Check the sensitivity of your JSON Schema (including OpenAPI!) documents
JavaScript
2
star
17

betta.io

Personal website. Built using GatsbyJS.
JavaScript
2
star
18

braintree-cc-s2s-demo-sinatra

A Braintree Credit Card demo in Sinatra. Uses the client side encryption library (Braintree.js) for server-to-server data transfer
CSS
1
star
19

prerendered-site

JavaScript
1
star
20

nexmo-elixir

[Work in Progress] Nexmo REST API client for Elixir
Elixir
1
star
21

mugshop

Mug Shop Demo
CSS
1
star
22

primo-templates

Rails application templates, to be used with Primo
1
star
23

paypal-ios-sdk-demo

PayPal iOS SDK Demo using RubyMotion
Ruby
1
star
24

2013.battlehack.org

A static backup of the 2013 BattleHack site
HTML
1
star
25

llama

Just a hubot llama
CoffeeScript
1
star
26

cbetta.github.com-old

My personal website and blog. Hosted on Github, powered by Octopress.
HTML
1
star
27

snapshotify

A simple tool for backing up a full site into a static instance.
Ruby
1
star
28

makeupbox

Over the Air 2012 entry
JavaScript
1
star
29

city-roulette

A simple roulette game for various BattleHack cities
HTML
1
star
30

url-shortener

[Inactive] My attempt at writing a URL shortener. Includes a Chrome extension.
Ruby
1
star
31

reference-transaction-demo-krakenjs

JavaScript
1
star
32

label-writer

A quick hack to see how easy it would be to print BattleHack labels with a Dymo LabelWriter
JavaScript
1
star
33

volt-braintree-demo

A sample Volt app using a custom volt component for the Braintree v.zero form
Ruby
1
star
34

fb-uncomment

[Inactive] In 2009-ish Facebook used to hide the original source that an app served inside the Facebook page as a HTML comment. This bookmarklet uncomments that code and shows it to the user.
JavaScript
1
star