Skip to content

Commit 5cb7c70

Browse files
author
Vic Shóstak
authored
Merge pull request #11 from create-go-app/dev
Dev -> v1.4.1 (fix docs)
2 parents 6954758 + d4f0ddc commit 5cb7c70

File tree

2 files changed

+20
-7
lines changed

2 files changed

+20
-7
lines changed

.goreleaser.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,20 @@ dockers:
3232
binaries:
3333
- cgapp
3434

35+
# Skips the docker push. Could be useful if you also do draft releases.
36+
# If set to auto, the release will not be pushed to the docker repository
37+
# in case there is an indicator for prerelease in the tag e.g. v1.0.0-rc1
38+
# skip_push: true
39+
3540
# Templates of the Docker image names.
3641
image_templates:
37-
- "koddr/cgapp:v{{ .Major }}"
38-
- "koddr/cgapp:{{ .Tag }}"
39-
- "koddr/cgapp:latest"
42+
- "koddr/cgapp:{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
43+
- "koddr/cgapp:{{ .Major }}.{{ .Minor }}"
44+
- "koddr/cgapp:{{ .Major }}"
45+
- "koddr/cgapp-deploy:latest"
4046

4147
# Path to the Dockerfile (from the project root).
42-
dockerfile: Dockerfile
48+
dockerfile: Dockerfile.deploy
4349

4450
archives:
4551
- # Replacements for GOOS and GOARCH in the archive name.

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
First of all, [download](https://golang.org/dl/) and install **Go**. Version `1.11` or higher is required.
1212

13-
Next, download the **latest** version of the Create Go App CLI to your computer:
13+
Next, download the **latest** version of the Create Go App CLI to your system:
1414

1515
```bash
1616
go get -u github.com/create-go-app/cli
@@ -22,7 +22,7 @@ Installation is done by using the [`go build`](https://golang.org/cmd/go/#hdr-Co
2222
go build -i -o $GOPATH/bin/cgapp github.com/create-go-app/cli
2323
```
2424

25-
Let's create a new project via **interactive console UI** (or **CUI**) into current folder:
25+
Let's create a new project via **interactive console UI** (or **CUI** for short) into current folder:
2626

2727
```bash
2828
cgapp create
@@ -34,6 +34,8 @@ Okay, it works! Now, you can run this project on your **local machine** or deplo
3434
cgapp deploy
3535
```
3636

37+
That's all you need to start! 🎉
38+
3739
### ~ [Docker-way to quick start](https://create-go.app/detailed-guides/official-docker-image/)
3840

3941
If you don't want to install Create Go App CLI to your system, you feel free to using our official [Docker image](https://hub.docker.com/r/koddr/cgapp) and run CLI from isolated container:
@@ -44,7 +46,12 @@ docker run --rm -it -v ${PWD}:${PWD} -w ${PWD} koddr/cgapp:latest
4446

4547
> ☝️ Also, with this Docker image, you do **not** have to worry about installing tools/CLI of frontend UI libraries/frameworks. Everything is **already included** to this Docker image: `create-react-app`, `preact-cli`, `vue-cli`, `ng-cli` and `degit` (for Svelte).
4648
47-
That's all you need to start! 🎉
49+
Available commands for official Docker image:
50+
51+
- [x] [`init`](https://create-go.app/detailed-guides/commands-and-options/#init)
52+
- [x] [`create`](https://create-go.app/detailed-guides/commands-and-options/#create)
53+
54+
> 🔔 Please note: a [`deploy`](https://create-go.app/detailed-guides/commands-and-options/#deploy) command is currently unavailable in this image.
4855
4956
## 📖 [Official Documentation](https://create-go.app/)
5057

0 commit comments

Comments
 (0)