Merge branch 'master' of https://github.com/progrium/dokku
This commit is contained in:
commit
69c502a019
2 files changed
+6
-4
No files matched your search
@@ -21,7 +21,7 @@ By default it's set to whatever the hostname the host has.
|
|||||||
You'll have to add a public key associated with a username as it says at the end of the bootstrapper. You'll do something
|
You'll have to add a public key associated with a username as it says at the end of the bootstrapper. You'll do something
|
||||||
like this from your local machine:
|
like this from your local machine:
|
||||||
|
|
||||||
$ cat ~/.ssh/id_rsa.pub | ssh root@progriumapp.com "gitreceive upload-key progrium"
|
$ cat ~/.ssh/id_rsa.pub | ssh progriumapp.com "sudo gitreceive upload-key progrium"
|
||||||
|
|
||||||
That's it!
|
That's it!
|
||||||
|
|
||||||
@@ -57,7 +57,7 @@ may be set to override the defaults (see the bootstrap.sh script for how these a
|
|||||||
|
|
||||||
$ wget j.mp/dokku-bootstrap
|
$ wget j.mp/dokku-bootstrap
|
||||||
$ chmod +x bootstrap.sh
|
$ chmod +x bootstrap.sh
|
||||||
$ DOKKU_REPO=https://github.com/yourusername/dokku.git bootstrap.sh
|
$ sudo DOKKU_REPO=https://github.com/yourusername/dokku.git ./bootstrap.sh
|
||||||
|
|
||||||
## Upgrading
|
## Upgrading
|
||||||
|
|
||||||
@@ -66,14 +66,14 @@ To update the deploy step (this is updated less frequently):
|
|||||||
|
|
||||||
$ cd ~/dokku
|
$ cd ~/dokku
|
||||||
$ git pull origin master
|
$ git pull origin master
|
||||||
$ make install
|
$ sudo make install
|
||||||
|
|
||||||
More frequently, the build step is updated. This is where the app "stack" lives and where buildpacks
|
More frequently, the build step is updated. This is where the app "stack" lives and where buildpacks
|
||||||
are supported. You can update this by running:
|
are supported. You can update this by running:
|
||||||
|
|
||||||
$ cd ~/dokku/buildstep
|
$ cd ~/dokku/buildstep
|
||||||
$ git pull origin master
|
$ git pull origin master
|
||||||
$ make build
|
$ sudo make build
|
||||||
|
|
||||||
Nothing needs to be restarted. Changes will take effect on the next push / deployment.
|
Nothing needs to be restarted. Changes will take effect on the next push / deployment.
|
||||||
|
|
||||||
|
|||||||
@@ -13,6 +13,8 @@ dpkg -i lxc-docker_0.4.2-1_amd64.deb
|
|||||||
apt-get install -f -y
|
apt-get install -f -y
|
||||||
rm lxc-docker_0.4.2-1_amd64.deb
|
rm lxc-docker_0.4.2-1_amd64.deb
|
||||||
|
|
||||||
|
sed -i.bak 's/docker -d/docker -d -r=true/' /etc/init/docker.conf # Docker should restart containers
|
||||||
|
|
||||||
cd ~ && git clone ${DOKKU_REPO}
|
cd ~ && git clone ${DOKKU_REPO}
|
||||||
cd dokku && make install
|
cd dokku && make install
|
||||||
if [[ $DOKKU_STACK ]]; then
|
if [[ $DOKKU_STACK ]]; then
|
||||||
|
|||||||
Reference in new issue
Block a user