Skip to content

Commit

Permalink
Added Installer & Runner Scripts for the Sofwtare.
Browse files Browse the repository at this point in the history
  • Loading branch information
iamKunal committed Apr 8, 2017
1 parent ad11fb0 commit 26ae871
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions installerScripts/generateReport.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Java\bin\javaw -jar ReportGenerator.jar
1 change: 1 addition & 0 deletions installerScripts/python.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Python36-32\python.exe %*
9 changes: 9 additions & 0 deletions installerScripts/run0.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@echo off
echo Setting Up environment...
PATH %PATH%;%cd%
PATH %PATH%;%cd%\Python36-32
PATH %PATH%;%cd%\Java\bin
echo Starting MySQL
"C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe" -windowstyle hidden -nologo -noprofile -executionpolicy bypass -command "start-process -verb 'runas' -filepath start_sql.bat
echo Starting the System...
start Java\bin\javaw -jar VisitorManagement.jar 0
9 changes: 9 additions & 0 deletions installerScripts/run1.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@echo off
echo Setting Up environment...
PATH %PATH%;%cd%
PATH %PATH%;%cd%\Python36-32
PATH %PATH%;%cd%\Java\bin
echo Starting MySQL
"C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe" -windowstyle hidden -nologo -noprofile -executionpolicy bypass -command "start-process -verb 'runas' -filepath start_sql.bat
echo Starting the System...
start Java\bin\javaw -jar VisitorManagement.jar 1
9 changes: 9 additions & 0 deletions installerScripts/setup.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@echo off
echo Setting up things...
echo
echo Setting up MySQL
..\xampp\mysql\bin\mysqld --install
net start mysql
..\xampp\mysql\bin\mysqladmin -u root password toor
echo Done setting up MySQL
pause
2 changes: 2 additions & 0 deletions installerScripts/start_sql.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@echo off
net start mysql

0 comments on commit 26ae871

Please sign in to comment.