Skip to content

Commit b41db70

Browse files
author
Vic Shóstak
authored
Merge pull request #15 from create-go-app/dev
Dev -> v1.5.1
2 parents 0ee102b + ca02a85 commit b41db70

File tree

7 files changed

+6
-35
lines changed

7 files changed

+6
-35
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# These are supported funding model platforms
22

3-
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
3+
github: koddr
44
patreon: koddr
55
custom: https://paypal.me/koddr

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
</h1>
55
<p align="center">Create a new production-ready project with <b>backend</b> (Golang), <b>frontend</b> (JavaScript, TypeScript)<br/>and <b>deploy automation</b> (Ansible, Docker) by running one CLI command.<br/><br/>Focus on <b>writing</b> code and <b>thinking</b> of business-logic! The CLI will take care of the rest.</p>
66

7-
<p align="center"><a href="https://github.com/create-go-app/cli/releases" target="_blank"><img src="https://img.shields.io/badge/version-v1.5.0-blue?style=for-the-badge&logo=none" alt="cli version" /></a>&nbsp;<a href="https://pkg.go.dev/github.com/create-go-app/cli?tab=doc" target="_blank"><img src="https://img.shields.io/badge/Go-1.11+-00ADD8?style=for-the-badge&logo=go" alt="go version" /></a>&nbsp;<a href="https://gocover.io/github.com/create-go-app/cli/pkg/cgapp" target="_blank"><img src="https://img.shields.io/badge/Go_Cover-94%25-success?style=for-the-badge&logo=none" alt="go cover" /></a>&nbsp;<a href="https://goreportcard.com/report/github.com/create-go-app/cli" target="_blank"><img src="https://img.shields.io/badge/Go_report-A+-success?style=for-the-badge&logo=none" alt="go report" /></a>&nbsp;<img src="https://img.shields.io/badge/license-apache_2.0-red?style=for-the-badge&logo=none" alt="license" /></p>
7+
<p align="center"><a href="https://github.com/create-go-app/cli/releases" target="_blank"><img src="https://img.shields.io/badge/version-v1.5.1-blue?style=for-the-badge&logo=none" alt="cli version" /></a>&nbsp;<a href="https://pkg.go.dev/github.com/create-go-app/cli?tab=doc" target="_blank"><img src="https://img.shields.io/badge/Go-1.11+-00ADD8?style=for-the-badge&logo=go" alt="go version" /></a>&nbsp;<a href="https://gocover.io/github.com/create-go-app/cli/pkg/cgapp" target="_blank"><img src="https://img.shields.io/badge/Go_Cover-94%25-success?style=for-the-badge&logo=none" alt="go cover" /></a>&nbsp;<a href="https://goreportcard.com/report/github.com/create-go-app/cli" target="_blank"><img src="https://img.shields.io/badge/Go_report-A+-success?style=for-the-badge&logo=none" alt="go report" /></a>&nbsp;<img src="https://img.shields.io/badge/license-apache_2.0-red?style=for-the-badge&logo=none" alt="license" /></p>
88

99
## ⚡️ [Quick start](https://create-go.app/quick-start/)
1010

@@ -44,7 +44,7 @@ If you don't want to install Create Go App CLI to your system, you feel free to
4444
docker run --rm -it -v ${PWD}:${PWD} -w ${PWD} koddr/cgapp:latest
4545
```
4646

47-
> ☝️ 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).
47+
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 and Sapper).
4848

4949
Available commands for official Docker image:
5050

cmd/create.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -172,15 +172,6 @@ var runCreateCmd = func(cmd *cobra.Command, args []string) {
172172
cgapp.SendMsg(true, "[ERROR]", err.Error(), "red", true)
173173
os.Exit(1)
174174
}
175-
176-
// Create Dockerfile for frontend.
177-
filesToMake := map[string][]byte{
178-
"frontend/Dockerfile": embed.Get("/Dockerfile.frontend"),
179-
}
180-
if err := cgapp.MakeFiles(currentDir, filesToMake); err != nil {
181-
cgapp.SendMsg(true, "[ERROR]", err.Error(), "red", true)
182-
os.Exit(1)
183-
}
184175
}
185176

186177
// Docker containers.

configs/Dockerfile.frontend

Lines changed: 0 additions & 17 deletions
This file was deleted.

configs/deploy-playbook.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
become: yes
88

99
roles:
10-
# Build & run project's frontend
11-
- deploy/cgapp_frontend
1210
# Build & run project's backend
1311
- deploy/cgapp_backend
1412
# Configure and run project's webserver

pkg/embed/blob.go

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/registry/defaults.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import "github.com/AlecAivazis/survey/v2"
3030

3131
const (
3232
// CLIVersion version of Create Go App CLI.
33-
CLIVersion = "1.5.0"
33+
CLIVersion = "1.5.1"
3434
// RegexpAnsiblePattern pattern for Ansible roles.
3535
RegexpAnsiblePattern = "^(deploy)$"
3636
// RegexpBackendPattern pattern for backend.

0 commit comments

Comments
 (0)