install command, docs on upgrading/updating
This commit is contained in:
1 parent
f9e02cd418
commit
283441398b
3 files changed
+30
-8
No files matched your search
@@ -0,0 +1,8 @@
|
|||||||
|
|
||||||
|
all: install
|
||||||
|
|
||||||
|
install:
|
||||||
|
cp receiver /home/git/receiver
|
||||||
|
cp deploystep /home/git/deploystep
|
||||||
|
cp nginx-app-conf /home/git/nginx-app-conf
|
||||||
|
cp nginx-reloader.conf /etc/init/nginx-reloader.conf
|
||||||
@@ -27,7 +27,7 @@ That's it!
|
|||||||
|
|
||||||
## Deploy an App
|
## Deploy an App
|
||||||
|
|
||||||
Right now Buildstep supports the Node.js, Ruby and Java buildpacks. It's not hard to add more, [go add more](https://github.com/progrium/buildstep#adding-buildpacks)! Let's deploy
|
Right now Buildstep supports the Node.js, Ruby, and Java buildpacks. It's not hard to add more, [go add more](https://github.com/progrium/buildstep#adding-buildpacks)! Let's deploy
|
||||||
the Heroku Node.js sample app. All you have to do is add a remote to name the app. It's created on-the-fly.
|
the Heroku Node.js sample app. All you have to do is add a remote to name the app. It's created on-the-fly.
|
||||||
|
|
||||||
$ cd node-js-sample
|
$ cd node-js-sample
|
||||||
@@ -38,9 +38,8 @@ the Heroku Node.js sample app. All you have to do is add a remote to name the ap
|
|||||||
Compressing objects: 100% (254/254), done.
|
Compressing objects: 100% (254/254), done.
|
||||||
Writing objects: 100% (296/296), 193.59 KiB, done.
|
Writing objects: 100% (296/296), 193.59 KiB, done.
|
||||||
Total 296 (delta 25), reused 276 (delta 13)
|
Total 296 (delta 25), reused 276 (delta 13)
|
||||||
remote: ----> Receiving node-js-app ...
|
|
||||||
remote: -----> Building node-js-app ...
|
remote: -----> Building node-js-app ...
|
||||||
remote: Node.js app detected
|
remote: Node.js app detected
|
||||||
remote: -----> Resolving engine versions
|
remote: -----> Resolving engine versions
|
||||||
|
|
||||||
... blah blah blah ...
|
... blah blah blah ...
|
||||||
@@ -53,7 +52,7 @@ You're done!
|
|||||||
## Advanced installation (for development)
|
## Advanced installation (for development)
|
||||||
|
|
||||||
The bootstrap script allows source URLs to be overridden to include customizations from your own
|
The bootstrap script allows source URLs to be overridden to include customizations from your own
|
||||||
repositories. The GITRECEIVE_URL, BUILDSTEP_URL, BUILDSTEP_CONTAINER and DOKKU_REPO environment variables
|
repositories. The GITRECEIVE_URL, BUILDSTEP_REPO and DOKKU_REPO environment variables
|
||||||
may be set to override the defaults (see the bootstrap.sh script for how these apply):
|
may be set to override the defaults (see the bootstrap.sh script for how these apply):
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
@@ -62,6 +61,24 @@ Example:
|
|||||||
$ chmod +x bootstrap.sh
|
$ chmod +x bootstrap.sh
|
||||||
$ DOKKU_REPO=https://github.com/yourusername/dokku.git bootstrap.sh
|
$ DOKKU_REPO=https://github.com/yourusername/dokku.git bootstrap.sh
|
||||||
|
|
||||||
|
## Upgrading
|
||||||
|
|
||||||
|
Dokku is in active development. You can update the deployment step and the build step separately.
|
||||||
|
To update the deploy step (this is updated less frequently):
|
||||||
|
|
||||||
|
$ cd ~/dokku
|
||||||
|
$ git pull origin master
|
||||||
|
$ make install
|
||||||
|
|
||||||
|
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:
|
||||||
|
|
||||||
|
$ cd ~/buildstep
|
||||||
|
$ git pull origin master
|
||||||
|
$ make
|
||||||
|
|
||||||
|
Nothing needs to be restarted. Changes will take effect on the next push / deployment.
|
||||||
|
|
||||||
## Components
|
## Components
|
||||||
|
|
||||||
* [Docker](https://github.com/dotcloud/docker) - Container runtime and manager
|
* [Docker](https://github.com/dotcloud/docker) - Container runtime and manager
|
||||||
|
|||||||
+1
-4
@@ -29,10 +29,7 @@ make
|
|||||||
cd ~
|
cd ~
|
||||||
git clone ${DOKKU_REPO}
|
git clone ${DOKKU_REPO}
|
||||||
cd dokku
|
cd dokku
|
||||||
cp receiver /home/git/receiver
|
make install
|
||||||
cp deploystep /home/git/deploystep
|
|
||||||
cp nginx-app-conf /home/git/nginx-app-conf
|
|
||||||
cp nginx-reloader.conf /etc/init/nginx-reloader.conf
|
|
||||||
|
|
||||||
stop nginx-reloader
|
stop nginx-reloader
|
||||||
start nginx-reloader
|
start nginx-reloader
|
||||||
|
|||||||
Reference in new issue
Block a user