source: other-projects/bib-stinky/trunk/SETUP.bash@ 36317

Last change on this file since 36317 was 36317, checked in by davidb, 21 months ago

Further development of setup files

File size: 1.1 KB
Line 
1if [ -d ext/virtualenv-python ] ; then
2 cd ext/virtualenv-python
3
4 if [ -f linux/virtualenv-python3/bin/activate ] ; then
5 echo "Activating Python3 VirtualEnv "
6 . ./linux/virtualenv-python3/bin/activate
7 else
8 echo "Failed to find: linux/virtualenv-python3/bin/activate"
9 echo "=> Python3 VirtualEnv not activated"
10 fi
11
12 cd ../..
13else
14 echo "Warning: No such directory: ext/virtualenv-python" >&2
15 echo "=> Python VirtualEnv Extention not available" >&2
16fi
17
18
19if [ -d ext/selfcontained-nodejs ] ; then
20 cd ext/selfcontained-nodejs
21
22 if [ -f setup.bash ] ; then
23 echo "Activating Self-contained NodeJS"
24 . ./setup.bash
25 else
26 echo "Warning: Failed to find: ext/selfcontained-nodejs/setup.bash" >&2
27 echo "=> Self-contained NodeJS not available" >&2
28 fi
29
30 cd ../..
31else
32 echo "Warning: No such directory: ext/selfcontained-nodejs" >&2
33 echo "=> Self-contained NodeJS not available" >&2
34fi
35
36if [ -d nodejs-server ] ; then
37 . ./nodejs-server/bibstinky-setup.bash
38else
39 echo "Warning: Failed to find:" >&2
40 echo " ./nodejs-server/bibstinky-setup.bash" >&2
41 echo "=> Unable to run the Bib-Stinky web server" >&2
42fi
43
44
Note: See TracBrowser for help on using the repository browser.