diff --git a/README.md b/README.md index 930bba2..d301e2f 100644 --- a/README.md +++ b/README.md @@ -2,13 +2,9 @@ ## Setup -```bash -cd ~/ -git clone https://git.limbosolutions.com/limbosolutions.com/git.limbosolutions.com -cd git.limbosolutions.com -chmod +x /scripts -./scripts/setup-lxc.sh -``` +for more information check /documentation/setup.md + + ## Backup Strategy diff --git a/documentation/setup.md b/documentation/setup.md index de424dd..2b40aba 100644 --- a/documentation/setup.md +++ b/documentation/setup.md @@ -1,5 +1,22 @@ # Setup +Web setup + +``` bash +curl - "https://git.limbosolutions.com/limbosolutions.com/git.limbosolutions.com/raw/branch/main/scripts/web-setup.sh" | bash +``` + +Or you can manual clone the repository and execute + +``` bash +cd ~/ +git clone "https://git.limbosolutions.com/limbosolutions.com/git.limbosolutions.com" +cd git.limbosolutions.com +chmod +x git.limbosolutions.com/scripts/setup.sh +./git.limbosolutions.com/scripts/setup.sh +``` + + ## Create LXC Container ``` bash @@ -8,14 +25,11 @@ containername=gitsrv01 lxc_profile=enxd0374555c1f8_macvlan ``` -## Setup Container +## Setup LXC Container ```bash -lxc launch ubuntu $containername -p $lxc_profile -# Setup container for docker -lxc exec $containername -- bash -c "curl https://git.limbosolutions.com/kb/lxc/scripts/ubuntu-fuse-setup.sh | bash" +scripts/setup-lxc.sh ``` -Setup using portainer [docker compose](docker/docker-compose.yaml). ## Fresh Install diff --git a/scripts/setup.sh b/scripts/setup.sh new file mode 100644 index 0000000..e69de29 diff --git a/scripts/web-setup.sh b/scripts/web-setup.sh new file mode 100644 index 0000000..7c414d9 --- /dev/null +++ b/scripts/web-setup.sh @@ -0,0 +1,4 @@ +git clone https://git.limbosolutions.com/limbosolutions.com/git.limbosolutions.com +cd git.limbosolutions.com +chmod +x git.limbosolutions.com/scripts/setup.sh +git.limbosolutions.com/scripts/setup.sh \ No newline at end of file