Standardize on dokku.me as the test hostname. Refs #795
This commit is contained in:
1 parent
a12b1e2b56
commit
e0b994c415
3 files changed
+17
-17
No files matched your search
@@ -4,8 +4,8 @@ Now you can deploy apps on your Dokku. Let's deploy the [Heroku Node.js sample a
|
|||||||
|
|
||||||
```
|
```
|
||||||
$ cd node-js-sample
|
$ cd node-js-sample
|
||||||
$ git remote add progrium dokku@progriumapp.com:node-js-app
|
$ git remote add dokku dokku@dokku.me:node-js-app
|
||||||
$ git push progrium master
|
$ git push dokku master
|
||||||
Counting objects: 296, done.
|
Counting objects: 296, done.
|
||||||
Delta compression using up to 4 threads.
|
Delta compression using up to 4 threads.
|
||||||
Compressing objects: 100% (254/254), done.
|
Compressing objects: 100% (254/254), done.
|
||||||
@@ -18,12 +18,12 @@ Total 296 (delta 25), reused 276 (delta 13)
|
|||||||
... blah blah blah ...
|
... blah blah blah ...
|
||||||
|
|
||||||
-----> Application deployed:
|
-----> Application deployed:
|
||||||
http://node-js-app.progriumapp.com
|
http://node-js-app.dokku.me
|
||||||
```
|
```
|
||||||
|
|
||||||
You're done!
|
You're done!
|
||||||
|
|
||||||
Dokku only supports deploying from its master branch, so if you'd like to deploy a different local branch use: ```git push progrium <local branch>:master```
|
Dokku only supports deploying from its master branch, so if you'd like to deploy a different local branch use: ```git push dokku <local branch>:master```
|
||||||
|
|
||||||
Right now Buildstep supports buildpacks for Node.js, Ruby, Python, [and more](https://github.com/progrium/buildstep#supported-buildpacks). It's not hard to add more, [go add more](https://github.com/progrium/buildstep#adding-buildpacks)!
|
Right now Buildstep supports buildpacks for Node.js, Ruby, Python, [and more](https://github.com/progrium/buildstep#supported-buildpacks). It's not hard to add more, [go add more](https://github.com/progrium/buildstep#adding-buildpacks)!
|
||||||
Please check the documentation for your particular build pack as you may need to include configuration files (such as a Procfile) in your project root.
|
Please check the documentation for your particular build pack as you may need to include configuration files (such as a Procfile) in your project root.
|
||||||
@@ -53,33 +53,33 @@ Alternatively, you may push an app to your dokku host with a name like "00-defau
|
|||||||
|
|
||||||
The name of remote repository is used as the name of application to be deployed, as for example above:
|
The name of remote repository is used as the name of application to be deployed, as for example above:
|
||||||
|
|
||||||
$ git remote add progrium git@progriumapp.com:node-js-app
|
$ git remote add dokku git@dokku.me:node-js-app
|
||||||
$ git push progrium master
|
$ git push dokku master
|
||||||
|
|
||||||
Is deployed to,
|
Is deployed to,
|
||||||
|
|
||||||
remote: -----> Application deployed:
|
remote: -----> Application deployed:
|
||||||
remote: http://node-js-app.progriumapp.com
|
remote: http://node-js-app.dokku.me
|
||||||
|
|
||||||
You can also specify fully qualified names, say `app.progrium.com`, as
|
You can also specify fully qualified names, say `app.dokku.me`, as
|
||||||
|
|
||||||
$ git remote add progrium git@progriumapp.com:app.progrium.com
|
$ git remote add dokku git@dokku.me:app.dokku.me
|
||||||
$ git push progrium master
|
$ git push dokku master
|
||||||
|
|
||||||
So, after deployment the application will be available at,
|
So, after deployment the application will be available at,
|
||||||
|
|
||||||
remote: -----> Application deployed:
|
remote: -----> Application deployed:
|
||||||
remote: http://app.progrium.com
|
remote: http://app.dokku.me
|
||||||
|
|
||||||
This is in particular useful, then you want to deploy to root domain, as
|
This is in particular useful, then you want to deploy to root domain, as
|
||||||
|
|
||||||
$ git remote add progrium git@progriumapp.com:progrium.com
|
$ git remote add dokku git@dokku.me:dokku.me
|
||||||
$ git push progrium master
|
$ git push dokku master
|
||||||
|
|
||||||
... deployment ...
|
... deployment ...
|
||||||
|
|
||||||
remote: -----> Application deployed:
|
remote: -----> Application deployed:
|
||||||
remote: http://progrium.com
|
remote: http://dokku.me
|
||||||
|
|
||||||
# Removing a deployed app
|
# Removing a deployed app
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ Set up a domain and a wildcard domain pointing to that host. Make sure `/home/do
|
|||||||
|
|
||||||
You'll have to add a public key associated with a username by doing something like this from your local machine:
|
You'll have to add a public key associated with a username by doing something like this from your local machine:
|
||||||
|
|
||||||
$ cat ~/.ssh/id_rsa.pub | ssh progriumapp.com "sudo sshcommand acl-add dokku progrium"
|
$ cat ~/.ssh/id_rsa.pub | ssh dokku.me "sudo sshcommand acl-add dokku $USER"
|
||||||
|
|
||||||
That's it!
|
That's it!
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
# Remote commands
|
# Remote commands
|
||||||
|
|
||||||
Dokku commands can be run over ssh. Anywhere you would run `dokku <command>`, just run `ssh -t dokku@progriumapp.com <command>`
|
Dokku commands can be run over ssh. Anywhere you would run `dokku <command>`, just run `ssh -t dokku@dokku.me <command>`
|
||||||
The `-t` is used to request a pty. It is highly recommended to do so.
|
The `-t` is used to request a pty. It is highly recommended to do so.
|
||||||
To avoid the need to type the `-t` option each time, simply create/modify a section in the `.ssh/config` on the client side, as follows:
|
To avoid the need to type the `-t` option each time, simply create/modify a section in the `.ssh/config` on the client side, as follows:
|
||||||
|
|
||||||
```
|
```
|
||||||
Host progriumapp.com
|
Host dokku.me
|
||||||
RequestTTY yes
|
RequestTTY yes
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user