You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
curl -H "Authorization: token $GITHUB_TOKEN" https://api.github.com/orgs/repos -d '{"name":"wireframe", "description": "wire-frame construction to get the project quickly into shape", "auto_init": true, "license_template": "mit", "gitignore_template": "Go"}'
37
-
38
-
# Create a normal user Github Repository
39
-
sed 's/^ Vendor: go-easygen/ User: suntong/' wireframe_proj.yaml > /tmp/wireframe_proj.yaml
curl -H "Authorization: token $GITHUB_TOKEN" https://api.github.com/user/repos -d '{"name":"wireframe", "description": "wire-frame construction to get the project quickly into shape", "auto_init": true, "license_template": "mit", "gitignore_template": "Go"}'
43
-
44
-
```
45
-
46
-
The GitHub Token is for accessing [GitHub API](https://developer.github.com/v3) to create repository or deploy the artefacts to GitHub etc. You can create one [here](https://github.com/settings/tokens/new).
47
-
48
-
## gitlab-repo-create - Create Repository in Gitlab
49
-
50
-
```sh
51
-
ghrn=wireframe
52
-
ghrd='wire-frame construction to get the project quickly into shape'
The `jsonfiddle` is the JSON Fiddling tool that makes it easy to look at the JSON data from different aspects, which is [available here](https://github.com/go-jsonfile/jsonfiddle).
31
+
The detailed explanation on the [Go wire-frame building can be found here](https://github.com/go-easygen/wireframe/wiki/Go-project-wire-frame-building).
97
32
98
33
## Command line flag handling code auto-generation
99
34
@@ -102,189 +37,20 @@ Refer to
102
37
[Command line flag handling code auto-generation](https://github.com/go-easygen/wireframe/wiki/Command-line-flag-handling-code-auto-generation#auto-gen)
103
38
104
39
105
-
## github-create-release - Create Release in Github
- inspect the generated `bintray-bin.json`, `bintray-pkg.json`, and `.travis.yml`.
248
-
- try to do a `git push` and manually fix any remaining issues.
249
-
250
-
The `easygen` is the universal code/text generator, which is [available here](https://github.com/go-easygen/easygen).
251
-
252
-
The above steps assume that the user and the `BINTRAY_REPO_BIN` and `BINTRAY_REPO_DEB` repos are already exist on [bintray.com](https://bintray.com/). Check out the [Hosting Debian Packages on Bintray](https://blog.bintray.com/2014/12/16/hosting-debian-packages-on-bintray-rocks/) for details, and [Bintray Debian Repository Creation and Upload file using API](https://stackoverflow.com/questions/45516482/bintray-debian-repository-creation-and-upload-file-using-api/45519360#45519360) for the condensed and practical version. All you need to do before doing the above steps are,
253
-
254
-
- Create an Bintray account (free).
255
-
- Obtain `BINTRAY_API_KEY` from its web site.
256
-
- Create two repos for binary executables (`BINTRAY_REPO_BIN`) and debian packages (`BINTRAY_REPO_DEB`).
257
-
258
-
That's it. The above steps should take care of the rest.
259
-
260
40
261
41
# Download/Install
262
42
43
+
_(The following is the base template for all `wireframe` based projects)_
44
+
263
45
## Download binaries
264
46
265
-
- The latest binary executables are available under
266
-
https://bintray.com/suntong/bin/{{.Name}}/latest, or directly under
- The latest binary executables are available right under the github release page
48
+
https://github.com/suntong/{{.Name}}/releases
268
49
as the result of the Continuous-Integration process.
269
-
- I.e., they are built during every git push, automatically by [travis-ci](https://travis-ci.org/), right from the source code, truely WYSIWYG.
270
-
- Pick & choose the binary executable that suits your OS and its architecture. E.g., for Linux, it would most probably be the `{{.Name}}-linux-amd64` file. If your OS and its architecture is not available in the download list, please let me know and I'll add it.
271
-
- You may want to rename it to a shorter name instead, e.g., `{{.Name}}`, after downloading it.
272
-
273
-
274
-
## Debian package
275
-
276
-
Available at https://bintray.com/suntong/deb/{{.Name}},
277
-
or directly at https://dl.bintray.com/suntong/deb:
278
-
279
-
```
280
-
echo "deb [trusted=yes] https://dl.bintray.com/suntong/deb all main" | sudo tee /etc/apt/sources.list.d/suntong-debs.list
- I.e., they are built during every git tagged push, automatically by [GitHub Actions](https://github.com/features/actions), right from the source code, truely WYSIWYG.
51
+
- The `.deb`, `.rpm` and `.apk` packages are readily available, as well as the executables for other Linux and Windows as well.
52
+
- Pick & choose the binary executable that suits your OS and its architecture. E.g., for Linux, it would most probably be the `{{.Name}}_ver_linux_amd64.tar.gz` file.
53
+
- Unzip it and put the executable somewhere in the PATH, after downloading it.
288
54
289
55
290
56
## Install Source
@@ -298,7 +64,7 @@ go get github.com/go-easygen/wireframe
298
64
299
65
# Similar Projects
300
66
301
-
All the following similar projects have been attempted before rolling out on my own solution instead. The listed url points to the limitations they have by the time this project was created.
67
+
At the beginning, all the following similar projects have been attempted before rolling out on my own solution instead. The listed url points to the limitations they had, _by the time this project was created_.
-[**go-github-release**](https://github.com/mh-cbon/go-github-release/issues/6), and also see the issues [here](https://github.com/mh-cbon/go-github-release/issues/10#issuecomment-307646985), [here](https://github.com/mh-cbon/go-github-release/issues/18) and [here](https://github.com/mh-cbon/go-github-release/issues/20).
0 commit comments