generated from mirzaev/pot
DUMB MOVING STARTED (DEVELOPING)
This commit is contained in:
37
install.sh
Normal file
37
install.sh
Normal file
@@ -0,0 +1,37 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Renaming project folder
|
||||
if [ -d author/project ]; then
|
||||
mv author/project author/accounts
|
||||
fi
|
||||
|
||||
# Renaming project author folder
|
||||
if [ -d author ]; then
|
||||
mv author svoboda
|
||||
fi
|
||||
|
||||
# Initializing the javascript modules folder
|
||||
if [ ! -d svoboda/accounts/system/public/js/modules ]; then
|
||||
mkdir -p ./svoboda/accounts/system/public/js/modules
|
||||
fi
|
||||
|
||||
# Updating repositories
|
||||
cd damper.mjs && git pull
|
||||
cd ../hotline.mjs && git pull
|
||||
cd ../graph.mjs && git pull
|
||||
cd ../
|
||||
|
||||
# Installing "damper.min.mjs"
|
||||
if [ ! -h svoboda/accounts/system/public/js/modules/damper.min.mjs ]; then
|
||||
ln -s ../../../../../../damper.mjs/damper.min.mjs svoboda/accounts/system/public/js/modules/damper.min.mjs
|
||||
fi
|
||||
|
||||
# installing "hotline.min.mjs"
|
||||
if [ ! -h svoboda/accounts/system/public/js/modules/hotline.min.mjs ]; then
|
||||
ln -s ../../../../../../hotline.mjs/hotline.min.mjs svoboda/accounts/system/public/js/modules/hotline.min.mjs
|
||||
fi
|
||||
|
||||
# Installing "graph.min.mjs"
|
||||
if [ ! -h svoboda/accounts/system/public/js/modules/graph.min.mjs ]; then
|
||||
ln -s ../../../../../../graph.mjs/graph.min.mjs svoboda/accounts/system/public/js/modules/graph.min.mjs
|
||||
fi
|
Reference in New Issue
Block a user