mirror of https://github.com/DJ2LS/FreeDATA.git
Update windows batch files
parent
20b9988bb9
commit
8fa3fbea56
|
@ -0,0 +1,8 @@
|
|||
@echo off
|
||||
REM Place this batch file in FreeData/gui and then run it
|
||||
REM ie. c:\FD-Src\gui
|
||||
echo Install requirements for GUI...
|
||||
|
||||
call npm install
|
||||
|
||||
pause
|
|
@ -1,5 +1,5 @@
|
|||
REM Place this batch file in FreeData/tnc and then run it
|
||||
REM ie. c:\FD-Src\tnc
|
||||
REM ie. c:\FD-Src\gui
|
||||
|
||||
python daemon.py
|
||||
call npm start
|
||||
pause
|
|
@ -0,0 +1,8 @@
|
|||
@echo off
|
||||
REM Place this batch file in FreeData/tnc and then run it
|
||||
REM ie. c:\FD-Src\gui
|
||||
echo Checking and install for updated requirements
|
||||
|
||||
call npm update
|
||||
|
||||
pause
|
|
@ -0,0 +1,5 @@
|
|||
REM Place this batch file in FreeData/modem and then run it
|
||||
REM ie. c:\FD-Src\modem
|
||||
|
||||
python -m pip install -r ..\requirements.txt
|
||||
pause
|
|
@ -0,0 +1,10 @@
|
|||
REM Place this batch file in FreeData/tnc and then run it
|
||||
REM ie. c:\FD-Src\tnc
|
||||
|
||||
REM Set environment variable to let modem know where to find config, change if you need to specify a different config
|
||||
set FREEDATA_CONFIG=.\config.ini
|
||||
|
||||
REM launch modem
|
||||
flask --app server run
|
||||
|
||||
pause
|
|
@ -0,0 +1,6 @@
|
|||
@echo off
|
||||
REM PLace in modem directory and run to retrieve list of audio devices; you'll need the CRC for the config.ini
|
||||
|
||||
python ..\tools\list_audio_devices.py
|
||||
|
||||
pause
|
|
@ -1,5 +1,8 @@
|
|||
REM Place this batch file in FreeData/tnc and then run it
|
||||
REM ie. c:\FD-Src\gui_vue
|
||||
@echo off
|
||||
REM Place this batch file in FreeData/gui and then run it
|
||||
REM ie. c:\FD-Src\gui
|
||||
echo Install requirements for GUI...
|
||||
|
||||
call npm install
|
||||
|
||||
pause
|
|
@ -1,5 +1,5 @@
|
|||
REM Place this batch file in FreeData/tnc and then run it
|
||||
REM ie. c:\FD-Src\gui_vue
|
||||
REM Place this batch file in FreeData/gui and then run it
|
||||
REM ie. c:\FD-Src\gui
|
||||
|
||||
call npm start
|
||||
pause
|
|
@ -1,5 +1,8 @@
|
|||
REM Place this batch file in FreeData/tnc and then run it
|
||||
REM ie. c:\FD-Src\gui_vue
|
||||
@echo off
|
||||
REM Place this batch file in FreeData/gui and then run it
|
||||
REM ie. c:\FD-Src\gui
|
||||
echo Check for and install updated requirements
|
||||
|
||||
call npm update
|
||||
|
||||
pause
|
|
@ -0,0 +1,5 @@
|
|||
REM Place this batch file in FreeData/modem and then run it
|
||||
REM ie. c:\FD-Src\modem
|
||||
|
||||
python -m pip install -r ..\requirements.txt
|
||||
pause
|
|
@ -0,0 +1,10 @@
|
|||
REM Place this batch file in FreeData/modem and then run it
|
||||
REM ie. c:\FD-Src\modem
|
||||
|
||||
REM Set environment variable to let modem know where to find config, change if you need to specify a different config
|
||||
set FREEDATA_CONFIG=.\config.ini
|
||||
|
||||
REM launch modem
|
||||
flask --app server run
|
||||
|
||||
pause
|
|
@ -0,0 +1,6 @@
|
|||
@echo off
|
||||
REM PLace in modem directory and run to retrieve list of audio devices; you'll need the CRC for the config.ini
|
||||
|
||||
python ..\tools\list_audio_devices.py
|
||||
|
||||
pause
|
|
@ -1,5 +0,0 @@
|
|||
REM Place this batch file in FreeData/tnc and then run it
|
||||
REM ie. c:\FD-Src\tnc
|
||||
|
||||
python -m pip install -r ..\requirements.txt
|
||||
pause
|
|
@ -1,6 +1,10 @@
|
|||
@echo off
|
||||
REM This will copy the helper batch files to the approriate places for you
|
||||
|
||||
copy GUI* ..\..\gui_vue\
|
||||
copy TNC* ..\..\tnc\
|
||||
echo Copying GUI scripts to GUI directory
|
||||
copy GUI* ..\..\gui\
|
||||
|
||||
echo Copying Modem scripts to Modem directory
|
||||
copy MODEM* ..\..\modem\
|
||||
|
||||
pause
|
Loading…
Reference in New Issue