add install script

This commit is contained in:
timurgordon 2023-12-05 16:22:57 +03:00
parent 228a964606
commit 0c557e67a8
2 changed files with 13 additions and 1 deletions

1
.gitignore vendored
View File

@ -21,7 +21,6 @@ yarn.lock
package-lock.json
dist
.temp
install*
public
public/*
public/home/index.html

13
install.sh Normal file
View File

@ -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"