mirror of
https://codeberg.org/vegvisir/install.git
synced 2025-09-13 16:23:42 +02:00
Install script for the Vegvisir web framework.
This PR makes headless installation possible by passing optional named arguments to the install script. Reviewed-on: https://codeberg.org/vegvisir/install/pulls/5 |
||
---|---|---|
install.sh | ||
README.md |
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
- Create a git repository for your project.
- 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.