forked from OHIF/VTKPlugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetupDevSite.sh
More file actions
executable file
·37 lines (30 loc) · 828 Bytes
/
Copy pathsetupDevSite.sh
File metadata and controls
executable file
·37 lines (30 loc) · 828 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
if [ -e dev ]
then
read -p "You have a dev directory already - okay to delete it? " -n 1 -r
echo
if [[ $REPLY =~ ^[Yy]$ ]]
then
rm -rf dev
else
echo
echo "Okay, won't do anything then"
exit
fi
fi
echo "Okay, installing dev environment"
mkdir dev
cd dev
git clone https://github.com/OHIF/Viewers.git
export METEOR_PACKAGE_DIRS="../../Packages"
rm -rf OHIFViewer
rm -rf LesionTracker
rm -rf test
rm -rf dockersupport
rm -rf img
rm -rf config
cd Viewers/StandaloneViewer/StandaloneViewer
mkdir -p client/staticSiteSupport
cp -R ../../../../staticSiteSupport/devStartup/ client/staticSiteSupport/
# Temporary: Overwrite the toolbar section to add some custom buttons:
cp ../../../../staticSiteSupport/toolbarSection.js client/components/toolbarSection/toolbarSection.js
meteor npm install