Desktop Launch Guide add details for 3.x.

This commit is contained in:
gitpitch 2020-10-08 21:05:50 +01:00
parent 1ee9cbf2c4
commit 845731c539

View File

@ -41,20 +41,27 @@ The simplest way to launch the desktop app using the command line is to create a
<!-- tabs:start --> <!-- tabs:start -->
#### ** Trial ** #### ** 4.0 Trial **
```bash ```bash
# Add GitPitch launch alias to your ~/.bashrc # Add GitPitch launch alias to your ~/.bashrc
alias gpd='docker run -it -v $PWD:/repo -p 9000:9000 gitpitch/trial' alias gpd='docker run -it -v $PWD:/repo -p 9000:9000 gitpitch/trial'
``` ```
#### ** Paid ** #### ** 4.0 Paid **
```bash ```bash
# Add GitPitch launch alias to your ~/.bashrc # Add GitPitch launch alias to your ~/.bashrc
alias gpd='docker run -it -v $PWD:/repo -p 9000:9000 gitpitch/4.0' alias gpd='docker run -it -v $PWD:/repo -p 9000:9000 gitpitch/4.0'
``` ```
#### ** 3.0 Pro **
```bash
# Add GitPitch launch alias to your ~/.bashrc
alias gpd='docker run -it -v $PWD:/repo -p 9000:9000 gitpitch/desktop:pro'
```
<!-- tabs:end --> <!-- tabs:end -->
Once this alias is activated in your local shell environment, for example `(source ~/.bashrc)`, you can launch the desktop app in two simple steps: Once this alias is activated in your local shell environment, for example `(source ~/.bashrc)`, you can launch the desktop app in two simple steps:
@ -99,18 +106,24 @@ You can launch the desktop app from any directory using the following `docker ru
<!-- tabs:start --> <!-- tabs:start -->
#### ** Trial ** #### ** 4.0 Trial **
```shell ```shell
docker run -it -v {LOCALWORKINGDIR}:/repo -p 9000:9000 gitpitch/trial docker run -it -v {LOCALWORKINGDIR}:/repo -p 9000:9000 gitpitch/trial
``` ```
#### ** Paid ** #### ** 4.0 Paid **
```shell ```shell
docker run -it -v {LOCALWORKINGDIR}:/repo -p 9000:9000 gitpitch/4.0 docker run -it -v {LOCALWORKINGDIR}:/repo -p 9000:9000 gitpitch/4.0
``` ```
#### ** 3.0 Pro **
```shell
docker run -it -v {LOCALWORKINGDIR}:/repo -p 9000:9000 gitpitch/desktop:pro
```
<!-- tabs:end --> <!-- tabs:end -->
Note, *{LOCALWORKINGDIR}* is a placeholder. You must replace it with an *absolute path* to a working directory on your local file system. The directory must exist. It can be empty. Or it can contain existing presentation files and assets. Note, *{LOCALWORKINGDIR}* is a placeholder. You must replace it with an *absolute path* to a working directory on your local file system. The directory must exist. It can be empty. Or it can contain existing presentation files and assets.
@ -131,7 +144,7 @@ You can use the *docker-compose* command as a convenient alternative to [docker
<!-- tabs:start --> <!-- tabs:start -->
#### ** Trial ** #### ** 4.0 Trial **
```yaml ```yaml
version: '3' version: '3'
@ -147,7 +160,7 @@ services:
- SWEEP=false - SWEEP=false
``` ```
#### ** Paid ** #### ** 4.0 Paid **
```yaml ```yaml
version: '3' version: '3'
@ -163,6 +176,22 @@ services:
- SWEEP=false - SWEEP=false
``` ```
#### ** 3.0 Pro **
```yaml
version: '3'
services:
gitpitch:
image: gitpitch/desktop:pro
volumes:
- .:/repo
ports:
- "9000:9000"
environment:
- PORT=9000
- SWEEP=false
```
<!-- tabs:end --> <!-- tabs:end -->
Following Docker conventions, we recommend saving this service description into a file called *docker-compose.yaml*. Following Docker conventions, we recommend saving this service description into a file called *docker-compose.yaml*.