Warning
This script has not been maintained in a while and may not work.
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