DUMB MOVING STARTED (DEVELOPING)

This commit is contained in:
2025-01-12 21:21:13 +07:00
parent 87bd15640a
commit f70f2c86ea
180 changed files with 2035 additions and 1993 deletions

37
install.sh Normal file
View 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