sonali-project-1/setup.bat

26 lines
786 B
Batchfile

@echo off
@REM REM Check if the folder exists, if not, create it
if not exist "./src/utils/api-manager" (
mkdir "./src/utils/api-manager"
)
@REM REM Check if the folder exists, if not, create it
if not exist "./src/utils/secure-route" (
mkdir "./src/utils/secure-route"
)
if not exist "./src/config" (
mkdir "./src/config"
)
@REM REM Clone repo1
git clone https://git.humbingo.in/Humbingo/api-manager.git "./src/check/api-manager"
git clone https://git.humbingo.in/Humbingo/secure-route.git "./src/check/secure-route"
copy "src\utils\secure-route\Setup\ComponentRegister.js.back" "./src/config/ComponentRegister.js"
copy "src\utils\secure-route\Setup\Global.js" "./src/config/Global.js"
copy "src\utils\secure-route\Setup\Global.json" "./src/config/Global.json"
pause