-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTests
More file actions
executable file
·33 lines (31 loc) · 1014 Bytes
/
Tests
File metadata and controls
executable file
·33 lines (31 loc) · 1014 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
#!/bin/bash
# Title : BootWeb
# Description : BootWeb Application Server Launcher
# Authors : BootWeb by the KaraCos Team < http://www.karacos.org >
# : Cyril Gratecos < cyril.gratecos@gmail.com >
# : Nicolas Karageuzian < nicolas@karageuzian.com >
# License : The MIT License (MIT)
# Copyright (c) : <2014-2113> <The KaraCos Team>
# Date : 20140805
# Version : 0.1
# Usage : ./Bootweb --help
export BW="$( readlink -f ${BASH_SOURCE[0]} )"
export BW_ROOT="$( dirname $BW )"
# NodeJS Variables
# export NODE_PATH="${BW_ROOT}/lib/node_modules"
# Loging Variables
# export LOGLEVEL="DEBUG"
export BW_SERVER=test
if [ ! $( command -v node ) ]
then
export NODEJS="$BW_ROOT/bin/node-v0.10.26-linux-x64/bin/node"
else
export NODEJS=$( command -v node )
fi
if [ ! $( command -v npm ) ]
then
export NPM="$BW_ROOT/bin/node-v0.10.26-linux-x64/bin/npm"
else
export NPM=$( command -v npm )
fi
${BW_ROOT}/node_modules/.bin/mocha