diff --git a/docs/application-deployment.md b/docs/application-deployment.md index bfcea2773..53a978537 100644 --- a/docs/application-deployment.md +++ b/docs/application-deployment.md @@ -85,6 +85,6 @@ This is in particular useful, then you want to deploy to root domain, as SSH onto the server, then execute: -```bash +```shell dokku delete myapp ``` diff --git a/docs/installation.md b/docs/installation.md index f4b2752a9..0ede81031 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -10,7 +10,7 @@ Ubuntu 14.04 x64 x64. Ideally have a domain ready to point to your host. It's de To install the latest stable version of dokku, you can run the following bootstrapper command: -```bash +```shell wget -qO- https://raw.github.com/progrium/dokku/v0.3.9/bootstrap.sh | sudo DOKKU_TAG=v0.3.9 bash ``` @@ -28,7 +28,7 @@ That's it! ### Development via bash script -```bash +```shell wget -qO- https://raw.github.com/progrium/dokku/master/bootstrap.sh | sudo bash ``` @@ -41,7 +41,7 @@ You may also wish to take a look at the [advanced installation](http://progrium. If you plan on developing dokku, the easiest way to install from your own repository is cloning the repository and calling the install script. Example: -```bash +```shell git clone https://github.com/yourusername/dokku.git cd dokku sudo make install @@ -52,7 +52,7 @@ repositories. The `DOCKER_URL`, `PLUGINHOOK_URL`, `SSHCOMMAND_URL` and `STACK_UR environment variables may be set to override the defaults (see the `Makefile` for how these apply). Example: -```bash +```shell sudo SSHCOMMAND_URL=https://raw.github.com/yourusername/sshcommand/master/sshcommand make install ``` @@ -61,7 +61,7 @@ sudo SSHCOMMAND_URL=https://raw.github.com/yourusername/sshcommand/master/sshcom The bootstrap script allows the dokku repository URL to be overridden to bootstrap a host from your own clone of dokku using the `DOKKU_REPO` environment variable. Example: -```bash +```shell wget https://raw.github.com/progrium/dokku/master/bootstrap.sh chmod +x bootstrap.sh sudo DOKKU_REPO=https://github.com/yourusername/dokku.git ./bootstrap.sh @@ -73,7 +73,7 @@ Dokku ships with a pre-built version of the [buildstep](https://github.com/progr default. If you want to build your own version you can specify that with an env variable. -```bash +```shell git clone https://github.com/progrium/dokku.git cd dokku sudo BUILD_STACK=true make install @@ -141,7 +141,7 @@ Deploy using the following StackScript: * Run the following commands: - ```bash + ```shell apt-get update apt-get install lxc wget bsdtar linux-image-extra-$(uname -r) @@ -150,6 +150,6 @@ Deploy using the following StackScript: ``` * After this, you can install dokku the default way: - ```bash + ```shell wget -qO- https://raw.github.com/progrium/dokku/master/bootstrap.sh | sudo bash ``` diff --git a/docs/nginx.md b/docs/nginx.md index e3bb8dadf..cff8bdaa6 100644 --- a/docs/nginx.md +++ b/docs/nginx.md @@ -65,7 +65,7 @@ The `subdomain` is inferred from the pushed application name, while the `domain` You can optionally override this in a plugin by implementing the `nginx-hostname` pluginhook. For example, you can reverse the subdomain with the following sample `nginx-hostname` pluginhook: -```bash +```shell #!/usr/bin/env bash set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x diff --git a/docs/plugins.md b/docs/plugins.md index ba992d0b1..d876a074e 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -11,7 +11,7 @@ Let's take a quick look at the current dokku nginx plugin that's shipped with do ## Installing a plugin -```bash +```shell cd /var/lib/dokku/plugins git clone dokku plugins-install @@ -32,7 +32,7 @@ If you create your own plugin: The below plugin is a dummy `dokku hello` plugin. If your plugin exposes commands, this is a good template for your `commands` file: -```bash +```shell #!/usr/bin/env bash set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x diff --git a/docs/remote-commands.md b/docs/remote-commands.md index 9b0952a6f..262b299b9 100644 --- a/docs/remote-commands.md +++ b/docs/remote-commands.md @@ -13,7 +13,7 @@ RequestTTY yes It's possible to run commands in the environment of the deployed application: -```bash +```shell dokku run node-js-app ls -alh dokku run ``` diff --git a/docs/upgrading.md b/docs/upgrading.md index ff022aab7..919d4bd5e 100644 --- a/docs/upgrading.md +++ b/docs/upgrading.md @@ -6,7 +6,7 @@ Dokku is in active development. You can update the deployment step and the build To update the deploy step (this is updated less frequently): -```bash +```shell cd ~/dokku git pull origin master sudo make install @@ -16,7 +16,7 @@ Nothing needs to be restarted. Changes will take effect on the next push / deplo To update the build step: -```bash +```shell git clone https://github.com/progrium/buildstep.git cd buildstep git pull origin master @@ -34,7 +34,7 @@ This should be summary of breaking changes between 0.1 and 0.2 version with inst software-properties-common is now a dependency for plugins. Before running dokku install script, make sure it is installed. -```bash +```shell > sudo apt-get install software-properties-common ```