mirror of
https://github.com/gitpitch/gitpitch.git
synced 2024-04-18 07:30:55 +08:00
Desktop Launch Guide add details for 3.x.
This commit is contained in:
parent
1ee9cbf2c4
commit
845731c539
|
@ -41,20 +41,27 @@ The simplest way to launch the desktop app using the command line is to create a
|
|||
|
||||
<!-- tabs:start -->
|
||||
|
||||
#### ** Trial **
|
||||
#### ** 4.0 Trial **
|
||||
|
||||
```bash
|
||||
# Add GitPitch launch alias to your ~/.bashrc
|
||||
alias gpd='docker run -it -v $PWD:/repo -p 9000:9000 gitpitch/trial'
|
||||
```
|
||||
|
||||
#### ** Paid **
|
||||
#### ** 4.0 Paid **
|
||||
|
||||
```bash
|
||||
# Add GitPitch launch alias to your ~/.bashrc
|
||||
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 -->
|
||||
|
||||
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 -->
|
||||
|
||||
#### ** Trial **
|
||||
#### ** 4.0 Trial **
|
||||
|
||||
```shell
|
||||
docker run -it -v {LOCALWORKINGDIR}:/repo -p 9000:9000 gitpitch/trial
|
||||
```
|
||||
|
||||
#### ** Paid **
|
||||
#### ** 4.0 Paid **
|
||||
|
||||
```shell
|
||||
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 -->
|
||||
|
||||
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 -->
|
||||
|
||||
#### ** Trial **
|
||||
#### ** 4.0 Trial **
|
||||
|
||||
```yaml
|
||||
version: '3'
|
||||
|
@ -147,7 +160,7 @@ services:
|
|||
- SWEEP=false
|
||||
```
|
||||
|
||||
#### ** Paid **
|
||||
#### ** 4.0 Paid **
|
||||
|
||||
```yaml
|
||||
version: '3'
|
||||
|
@ -163,6 +176,22 @@ services:
|
|||
- 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 -->
|
||||
|
||||
Following Docker conventions, we recommend saving this service description into a file called *docker-compose.yaml*.
|
||||
|
|
Loading…
Reference in New Issue
Block a user