project init
parent
e2f343af32
commit
1b954055b1
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "hbaseapp",
|
||||
"version": "0.1.0",
|
||||
"name": "react-placeholder",
|
||||
"version": "1.0.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "hbaseapp",
|
||||
"version": "0.1.0",
|
||||
"name": "react-placeholder",
|
||||
"version": "1.0.0",
|
||||
"dependencies": {
|
||||
"@emotion/react": "^11.13.0",
|
||||
"@emotion/styled": "^11.13.0",
|
||||
|
|
25
setup.bat
25
setup.bat
|
@ -1,25 +0,0 @@
|
|||
@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"
|
||||
npm install
|
||||
pause
|
26
setup.sh
26
setup.sh
|
@ -1,26 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Check if the folder exists, if not, create it
|
||||
if [ ! -d "./src/utils/api-manager" ]; then
|
||||
mkdir -p "./src/utils/api-manager"
|
||||
fi
|
||||
|
||||
# Check if the folder exists, if not, create it
|
||||
if [ ! -d "./src/utils/secure-route" ]; then
|
||||
mkdir -p "./src/utils/secure-route"
|
||||
fi
|
||||
|
||||
# Check if the folder exists, if not, create it
|
||||
if [ ! -d "./src/config" ]; then
|
||||
mkdir -p "./src/config"
|
||||
fi
|
||||
|
||||
# Clone repo1
|
||||
git clone https://git.humbingo.in/Humbingo/api-manager.git "./src/utils/api-manager"
|
||||
git clone https://git.humbingo.in/Humbingo/secure-route.git "./src/utils/secure-route"
|
||||
|
||||
# Copy files
|
||||
cp "./src/utils/secure-route/Setup/ComponentRegister.js.back" "./src/config/ComponentRegister.js"
|
||||
cp "./src/utils/secure-route/Setup/Global.js" "./src/config/Global.js"
|
||||
cp "./src/utils/secure-route/Setup/Global.json" "./src/config/Global.json"
|
||||
npm install
|
Loading…
Reference in New Issue