Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

script make_distr

  • Loading branch information...
commit 22f08da0d77fa76ae19700be23ca702dd6d7a442 1 parent 26b3233
@AlexKVal authored
View
1  .gitignore
@@ -1,4 +1,5 @@
config.rb
+_distr
.rvmrc
*.sqlite3
sqlite3.dll
View
6 config.rb
@@ -1,5 +1,5 @@
# Filial-side
-FILIAL_ID = 'Chab' # used for distinguish connections on server-side
+FILIAL_ID = 'Kor' # used for distinguish connections on server-side
SERVER_URI = 'druby://10.0.26.110:8083'
CALLBACK_URI = 'druby://10.0.35.230:20083'
SECONDS_WAIT_SERVER = 10
@@ -7,8 +7,8 @@
MAIN_LOOP_PAUSE = 5
# Central-side
-#CENTRAL_ALIAS = "CentrChab.NET" # alias for filial db on central server
-#CENTRAL_PREFIX = 'chab' # prefix for tables
+#CENTRAL_ALIAS = "D2Kor.NET" # alias for filial db on central server
+#CENTRAL_PREFIX = 'kor' # prefix for tables
#LISTEN_URI = 'druby://:8083'
# DRb
View
1  lib/setup/pvsw_setup.rb
@@ -214,4 +214,3 @@ def setup_drop_triggers
else
print_help_message
end
-
View
11 scripts/make_distr.bat
@@ -0,0 +1,11 @@
+SET dest=..\_distr
+
+rmdir /S/Q %dest%
+mkdir %dest%
+xcopy ..\lib %dest%\lib\ /Y /E
+xcopy ..\logs %dest%\logs\ /Y /E
+xcopy ..\scripts %dest%\scripts\ /Y /E
+xcopy ..\central_run_me.rb %dest%\ /Y
+xcopy ..\client_run_me.rb %dest%\ /Y
+xcopy ..\config.rb.example %dest%\ /Y
+PAUSE
Please sign in to comment.
Something went wrong with that request. Please try again.