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 -->
|
<!-- 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*.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user