forked from duniayetu/www_duniayetu
add install script
This commit is contained in:
parent
228a964606
commit
0c557e67a8
1
.gitignore
vendored
1
.gitignore
vendored
@ -21,7 +21,6 @@ yarn.lock
|
|||||||
package-lock.json
|
package-lock.json
|
||||||
dist
|
dist
|
||||||
.temp
|
.temp
|
||||||
install*
|
|
||||||
public
|
public
|
||||||
public/*
|
public/*
|
||||||
public/home/index.html
|
public/home/index.html
|
||||||
|
13
install.sh
Normal file
13
install.sh
Normal 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"
|
Loading…
Reference in New Issue
Block a user