Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

update installer.sh to support overriding default variables#449

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
joseluisq merged 2 commits intostatic-web-server:masterfromfrankli0324:patch-1
May 22, 2024
Merged

Conversation

frankli0324
Copy link
Contributor

@frankli0324frankli0324 commentedMay 22, 2024
edited
Loading

Description

adds two optional environment variables controlling the installation script:

export SWS_INSTALL_DIR="~/.local/bin"export SWS_INSTALL_VERSION="2.31.0"curl --proto'=https' --tlsv1.2 -sSfL https://get.static-web-server.net| sh

Motivation and Context

when installing with get.static-web-server.net, I would like to be able to pin the install version and specify an installation directory (so I can use it in packaging scripts)

@semanticdiff-comSemanticDiff.com
Copy link

Review changes withSemanticDiff.

@joseluisqjoseluisq added enhancementNew feature or request v2v2 release installer linuxLinux platform specific unixUnix/BSDs platform specific labelsMay 22, 2024
Copy link
Collaborator

@joseluisqjoseluisq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Nice idea. I wonder if you could also update the installer page with an example of how to use it.https://github.com/static-web-server/static-web-server/blob/master/docs/content/download-and-install.tmpl.md#binary-installer-linuxbsds

BTW can you please also update the PR with the example?

Copy link
Collaborator

@joseluisqjoseluisq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thanks!

frankli0324 reacted with hooray emoji
@joseluisqjoseluisq merged commitb291189 intostatic-web-server:masterMay 22, 2024
@joseluisq
Copy link
Collaborator

joseluisq commentedMay 22, 2024
edited
Loading

BTW since it is a script (dynamic) and already merged. It should be already available to be used. The docs should be published soon.

@frankli0324frankli0324 deleted the patch-1 branchMay 22, 2024 08:18
@joseluisqjoseluisq added this to thev2.31.2 milestoneMay 29, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@joseluisqjoseluisqjoseluisq approved these changes

Assignees
No one assigned
Labels
enhancementNew feature or requestinstallerlinuxLinux platform specificunixUnix/BSDs platform specificv2v2 release
Projects
None yet
Milestone
v2.32.0
Development

Successfully merging this pull request may close these issues.

2 participants
@frankli0324@joseluisq

[8]ページ先頭

©2009-2025 Movatter.jp