Install script for the Vegvisir web framework.
Find a file
Victor Westerlund 9ae80a1707 fic: remove optional parameters from generated env.ini (#4)
I will remove generated envvars for optional parameters. Vegvisir will automatically fall back to its internal defaults if certain parameters are absent.

I had to leave `worker_magic_pathname` in for now thought since the Vegvisir default for that is incorrect. When [PR #60](https://codeberg.org/vegvisir/vegvisir/pulls/60) is merged into the Vegvisir master, I will remove it from here.

Reviewed-on: https://codeberg.org/vegvisir/install/pulls/4
2025-08-07 06:46:18 +02:00
install.sh fic: remove optional parameters from generated env.ini (#4) 2025-08-07 06:46:18 +02:00
README.md feat: add optional CLI arguments (#5) 2025-08-07 06:42:05 +02:00

Vegvisir installer

Run this script from a git repository to automatically install and configure Vegvisir as a git submodule to your project.

Important

The script will only run in environments with Bash and coreutils installed (for now).

Get started

  1. Create a git repository for your project.
  2. Run this command from the root directory of your local repository.
curl -fsSL https://codeberg.org/vegvisir/install/raw/branch/master/install.sh | bash

Arguments

You can pass optional named arguments to this script for headless installation of Vegvisir.

--install - Installation directory

./install.sh --install="/path/to/project"

Pass an --install argument with a value of a directory Vegvisir should consider its root_path.

--override - Overwrite configuration files

./install.sh --overwrite=y

Pass --overwrite=y to replace existing Vegvisir configuration files.

--example - Generate example website

./install.sh --example=n

Pass --overwrite=n to disable generation of an example website after installation.