Adding Helpers
This commit is contained in:
parent
3704951dec
commit
3430a33cc2
3
00-install.bat
Normal file
3
00-install.bat
Normal file
@ -0,0 +1,3 @@
|
||||
set DIR=%~dp0
|
||||
cd "%DIR%"
|
||||
npm install
|
30
01-compile.bat
Normal file
30
01-compile.bat
Normal file
@ -0,0 +1,30 @@
|
||||
@echo off
|
||||
set DIR=%~dp0
|
||||
cd "%DIR%"
|
||||
SETLOCAL
|
||||
echo Compiling Backend
|
||||
(npx tsc -p ./tsconfigBackend.json --noEmit --pretty) && (
|
||||
echo Generating API-Interface
|
||||
@echo on
|
||||
node ./dist/lib/cli/generateFiles
|
||||
echo Generating API-Interface
|
||||
@echo off
|
||||
echo Compiling FrontendFiles
|
||||
(npx tsc -p ./tsconfigBackend.json --noEmit --pretty) && (
|
||||
echo Done
|
||||
) || (
|
||||
echo Done
|
||||
)
|
||||
) || (
|
||||
echo Generating API-Interface
|
||||
@echo on
|
||||
node ./dist/lib/cli/generateFiles
|
||||
echo Generating API-Interface
|
||||
@echo off
|
||||
echo Compiling FrontendFiles
|
||||
(npx tsc -p ./tsconfigBackend.json --noEmit --pretty) && (
|
||||
echo Done
|
||||
) || (
|
||||
echo Done
|
||||
)
|
||||
)
|
2
02-compile - ui.bat
Normal file
2
02-compile - ui.bat
Normal file
@ -0,0 +1,2 @@
|
||||
@echo off
|
||||
npx next build
|
5
03-start-dev.bat
Normal file
5
03-start-dev.bat
Normal file
@ -0,0 +1,5 @@
|
||||
set DIR=%~dp0
|
||||
cd "%DIR%"
|
||||
|
||||
start "" node ./dist/src/index
|
||||
start "" npx next dev
|
5
03-start-production.bat
Normal file
5
03-start-production.bat
Normal file
@ -0,0 +1,5 @@
|
||||
set DIR=%~dp0
|
||||
cd "%DIR%"
|
||||
|
||||
start "" node ./dist/src/index
|
||||
start "" npx next start
|
Loading…
Reference in New Issue
Block a user