Skip to content

campjs/iii

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

campjs dokku settings

A place to store dokku server customizations

How to add your keys to the dokku server

Supply your email as a paramete to the [email protected] address, and use the password campjs when prompted.

$ cat ~/.ssh/id_rsa.pub | ssh [email protected] [email protected]
[email protected]'s password:
Adding '[email protected]' to dokku
b3:ac:58:b6:8d:d3:27:32:59:30:3e:ab:5c:0c:55:5b

How to push to the dokku server

Example of how to push to dokku server:

$ git clone [email protected]:heroku/node-js-sample.git
$ cd node-js-sample
$ git remote add dokku [email protected]:node-js-sample
$ git push dokku master
Counting objects: 296, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (254/254), done.
Writing objects: 100% (296/296), 193.59 KiB, done.
Total 296 (delta 25), reused 276 (delta 13)
-----> Building node-js-app ...
       Node.js app detected
       -----> Resolving engine versions

       ... blah blah blah ...

       -----> Application deployed:
              http://node-js-sample.iii.campjs.com

How to remove your keys from the dokku server

Supply your email as a paramete to the [email protected] address, and use the password campjs when prompted.

How to generate keys (if you don't have them)

For newbies who don't use ssh, here's the incantation to create your own key pair:

$ ssh-keygen -t rsa -C "[email protected]"
Generating public/private rsa key pair.
Enter file in which to save the key (/Users/yourusername/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in test_rsa.
Your public key has been saved in test_rsa.pub.
The key fingerprint is:
3b:1a:42:c2:54:b4:db:9c:10:a0:56:0d:5d:ec:73:32 [email protected]

TODO

  • Make dokku resolve against local npm server
  • Local APT repo?
  • Download a bunch of common build packs
  • Local www server to store these instructions or even provide a web interface to add the keys.

Releases

No releases published

Packages

No packages published

Languages