From 0c557e67a80e19a1aaeba11269465f187b8b270f Mon Sep 17 00:00:00 2001 From: timurgordon Date: Tue, 5 Dec 2023 16:22:57 +0300 Subject: [PATCH] add install script --- .gitignore | 1 - install.sh | 13 +++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 install.sh diff --git a/.gitignore b/.gitignore index 0d71d1d..d69b355 100644 --- a/.gitignore +++ b/.gitignore @@ -21,7 +21,6 @@ yarn.lock package-lock.json dist .temp -install* public public/* public/home/index.html diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..2a64393 --- /dev/null +++ b/install.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash +set -e + +SOURCE=${BASH_SOURCE[0]} +DIR_OF_THIS_SCRIPT="$( dirname "$SOURCE" )" +ABS_DIR_OF_SCRIPT="$( realpath $DIR_OF_THIS_SCRIPT )" +mkdir -p ~/.vmodules/freeflowuniverse +mkdir -p ~/code/github/freeflowuniverse +pushd ~/code/github/freeflowuniverse +git clone https://github.com/freeflowuniverse/webcomponents.git +ln -s ~/code/github/freeflowuniverse/webcomponents/webcomponents ~/.vmodules/freeflowuniverse/webcomponents + +echo "INSTALL OK" \ No newline at end of file