Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 1.43 KB

install-script.md

File metadata and controls

42 lines (31 loc) · 1.43 KB

← Back: Getting started

Warning

This script has not been maintained in a while and may not work.

Install script

We have a script that handles all installation for you. Git operations use SSH, and the script will help you create an SSH key if needed.

Copy these commands (press button on the right-hand side of the block) and run from the directory you would clone the project.

# Interactive
X_INTERACTIVE=y /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Samfundet/Samfundet4/master/{bash_utils.sh,install.sh})" && . ~/.bash_profile && cd Samfundet4; unset X_INTERACTIVE;
Non-interactive (show/hide)
# Non-interactive
X_INTERACTIVE=n /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Samfundet/Samfundet4/master/{bash_utils.sh,install.sh})" && . ~/.bash_profile && cd Samfundet4; unset X_INTERACTIVE;
Flags explained (show/hide)
  • X_INTERACTIVE (y/n): determines how many prompts you receive before performing an action.
    > curl:
  • -f: fail fast
  • -s: silent, no progress-meter
  • -S: show error on fail
  • -L: follow redirect