mirror of
https://github.com/adamwalach/openvpn-web-ui.git
synced 2026-04-25 04:46:24 +03:00
[GH-ISSUE #37] Purpose of build/pack.sh #30
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/openvpn-web-ui#30
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bnhf on GitHub (Feb 14, 2022).
Original GitHub issue: https://github.com/adamwalach/openvpn-web-ui/issues/37
Can anyone enlighten me on what the build/pack.sh script does? I'm including it below:
Thanks!
@bnhf commented on GitHub (Feb 15, 2022):
Answering my own question here, as I corresponded with @tyzbit who's version of this repository I forked. The pack.sh script is intended to create the tar.gz archive used in the Docker build. It makes sense that this is the purpose, as I had to figure out what was needed, in addition to the executable created by "bee run", by looking in @tyzbit's container.
The script is doing this using a Beego Docker container with the 1.9.4 version of Beego. This may not be necessary however, as the web-ui appears to be working fine with my manual build of the archive, and it appears to also work to run just this portion of the script:
from the parent directory of the repository as it exists on your local machine, e.g. openvpn-web-ui. If you want to create the archive manually, I listed the files I believe are necessary in the README.md of my fork of this project.