Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
vMap
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Marty Fabien
vMap
Commits
51f83a0b
Commit
51f83a0b
authored
Oct 22, 2018
by
Armand Bahi
Browse files
Options
Downloads
Patches
Plain Diff
Add windows install files
parent
457792c6
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
install.bat
+17
-0
17 additions, 0 deletions
install.bat
utils/init_tree.bat
+80
-0
80 additions, 0 deletions
utils/init_tree.bat
with
97 additions
and
0 deletions
install.bat
0 → 100644
+
17
−
0
View file @
51f83a0b
@echo
off
title
Install
Vitis
App
echo
Install
Vitis
App
cd
utils
call
init_tree
.bat
cd
../client/conf
call
npm
install
grunt
--save
call
npm
install
grunt
-cli
call
npm
install
grunt
-closure-tools --save
call
npm
install
google
-closure-compiler
@20160911.0.0
--save
call
npm
install
google
-closure-library
@20160911.0.0
--save
call
grunt
cd
..
pause
This diff is collapsed.
Click to expand it.
utils/init_tree.bat
0 → 100644
+
80
−
0
View file @
51f83a0b
@echo
off
title
Install
Vitis
App
setlocal
EnableDelayedExpansion
cd
..
set
/p
existing_path
=
"Existing app path: "
REM Client Dir
echo
Create
client
directory
if
exist
"client"
(
rmdir
/S /Q
"client"
)
robocopy
"src/vitis/client"
"client"
/E /NFL /NDL /NJH /NJS /nc /ns /np
robocopy
"conf"
"client/conf"
/E /NFL /NDL /NJH /NJS /nc /ns /np
robocopy
"src/closure/conf"
"client/conf/closure"
/E /NFL /NDL /NJH /NJS /nc /ns /np
echo
Copy
client
modules
for
/d
%%g
in
(
"src/module_*"
)
do
(
set
x
=
%%g
echo
!
x
:
~
7
!
if
exist
"src/
%%g
/module"
(
robocopy
"src/
%%g
/module"
"client/modules/
!
x:~7
!
"
/E /NFL /NDL /NJH /NJS /nc /ns /np
)
)
REM VAS dir
echo
Create
vas
directory
echo
Create
client
directory
if
exist
"vas"
(
rmdir
/S /Q
"vas"
)
robocopy
"src/vitis/vas"
"vas"
/E /NFL /NDL /NJH /NJS /nc /ns /np
echo
Copy
vas
web_services
for
/d
%%g
in
(
"src/module_*"
)
do
(
set
x
=
%%g
echo
!
x
:
~
7
!
if
exist
"src/
%%g
/web_service/conf"
(
robocopy
"src/
%%g
/web_service/conf"
"vas/rest/conf/
!
x:~7
!
"
/E /NFL /NDL /NJH /NJS /nc /ns /np
)
if
exist
"src/
%%g
/web_service/sql"
(
robocopy
"src/
%%g
/web_service/sql"
"vas/sql/
!
x:~7
!
"
/E /NFL /NDL /NJH /NJS /nc /ns /np
)
if
exist
"src/
%%g
/web_service/ws"
(
robocopy
"src/
%%g
/web_service/ws"
"vas/rest/ws/
!
x:~7
!
"
/E /NFL /NDL /NJH /NJS /nc /ns /np
)
if
exist
"src/
%%g
/web_service/ws_data"
(
robocopy
"src/
%%g
/web_service/ws_data"
"vas/ws_data"
/E /NFL /NDL /NJH /NJS /nc /ns /np
)
if
exist
"src/
%%g
/web_service/public"
(
robocopy
"src/
%%g
/web_service/public"
"vas/public"
/E /NFL /NDL /NJH /NJS /nc /ns /np
)
if
exist
"src/
%%g
/web_service/upload"
(
robocopy
"src/
%%g
/web_service/upload"
"vas/upload"
/E /NFL /NDL /NJH /NJS /nc /ns /np
)
)
REM Copy from existing path
if
exist
%existing_path%
(
echo
copy
properties
from
%existing_path%
for
%%G
in
(
vas
\server
,
vas
\rest\conf
,
vas
\log
,
vas
\public
,
vas
\shared
,
vas
\tmp
,
vas
\upload
,
vas
\ws_data
)
do
(
echo
%%G
if
exist
%existing_path%
\
%%G
(
robocopy
"
%existing_path%
\
%%G
"
"
%%G
"
/E /NFL /NDL /NJH /NJS /nc /ns /np
)
)
if
exist
%existing_path%
\client\conf\properties.json
(
robocopy
"
%existing_path%
\client\conf"
"client\conf"
"properties.json"
/NFL /NDL /NJH /NJS /nc /ns /np
)
if
exist
%existing_path%
\vas\rest\.htaccess
(
robocopy
"
%existing_path%
\vas\rest"
"vas\rest"
".htaccess"
/NFL /NDL /NJH /NJS /nc /ns /np
)
if
exist
"
%existing_path%
\vas\rest\conf"
(
robocopy
"
%existing_path%
\vas\rest\conf"
"vas\rest\conf"
/E /NFL /NDL /NJH /NJS /nc /ns /np
)
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment