Browse Source

Merge pull request #1478 from LadyMozzarella/lgratrix-remove-bash-profile

Toolset: Remove bash_profile.sh
Hamilton Turner 10 years ago
parent
commit
97a093473d
100 changed files with 161 additions and 230 deletions
  1. 0 16
      frameworks/C++/ULib/bash_profile.sh
  2. 4 0
      frameworks/C++/ULib/setup.sh
  3. 4 0
      frameworks/C++/ULib/setup_mysql.sh
  4. 4 0
      frameworks/C++/ULib/setup_sqlite.sh
  5. 0 3
      frameworks/C++/cpoll_cppsp/bash_profile.sh
  6. 1 0
      frameworks/C++/cpoll_cppsp/setup.sh
  7. 0 11
      frameworks/C++/wt/bash_profile.sh
  8. 10 0
      frameworks/C++/wt/install.sh
  9. 7 0
      frameworks/C++/wt/setup.sh
  10. 8 0
      frameworks/C++/wt/setup_postgres.sh
  11. 0 3
      frameworks/C/duda/bash_profile.sh
  12. 1 0
      frameworks/C/duda/setup.sh
  13. 0 5
      frameworks/Clojure/compojure/bash_profile.sh
  14. 3 0
      frameworks/Clojure/compojure/setup.sh
  15. 0 5
      frameworks/Clojure/http-kit/bash_profile.sh
  16. 2 0
      frameworks/Clojure/http-kit/setup.sh
  17. 0 2
      frameworks/Clojure/luminus/bash_profile.sh
  18. 2 0
      frameworks/Clojure/luminus/setup.sh
  19. 0 5
      frameworks/Dart/dart-redstone/bash_profile.sh
  20. 2 0
      frameworks/Dart/dart-redstone/setup.sh
  21. 0 7
      frameworks/Dart/dart-start/bash_profile.sh
  22. 3 0
      frameworks/Dart/dart-start/setup.sh
  23. 0 7
      frameworks/Dart/dart-stream/bash_profile.sh
  24. 3 0
      frameworks/Dart/dart-stream/setup.sh
  25. 0 5
      frameworks/Dart/dart/bash_profile.sh
  26. 5 1
      frameworks/Dart/dart/setup.sh
  27. 0 3
      frameworks/Erlang/cowboy/bash_profile.sh
  28. 1 0
      frameworks/Erlang/cowboy/setup_erlang.sh
  29. 0 3
      frameworks/Erlang/elli/bash_profile.sh
  30. 1 0
      frameworks/Erlang/elli/setup_erlang.sh
  31. 0 6
      frameworks/Go/beego/bash_profile.sh
  32. 3 0
      frameworks/Go/beego/setup.sh
  33. 0 6
      frameworks/Go/falcore/bash_profile.sh
  34. 3 0
      frameworks/Go/falcore/setup.sh
  35. 0 6
      frameworks/Go/gin/bash_profile.sh
  36. 3 0
      frameworks/Go/gin/setup.sh
  37. 0 4
      frameworks/Go/go/bash_profile.sh
  38. 3 0
      frameworks/Go/go/setup.sh
  39. 0 6
      frameworks/Go/revel-jet/bash_profile.sh
  40. 3 0
      frameworks/Go/revel-jet/setup.sh
  41. 0 4
      frameworks/Go/revel-qbs/bash_profile.sh
  42. 3 0
      frameworks/Go/revel-qbs/setup.sh
  43. 0 4
      frameworks/Go/revel/bash_profile.sh
  44. 3 0
      frameworks/Go/revel/setup.sh
  45. 0 6
      frameworks/Go/webgo/bash_profile.sh
  46. 3 0
      frameworks/Go/webgo/setup.sh
  47. 3 3
      frameworks/Groovy/grails/setup.sh
  48. 0 5
      frameworks/Haskell/snap/bash_profile.sh
  49. 3 0
      frameworks/Haskell/snap/setup.sh
  50. 0 5
      frameworks/Haskell/wai/bash_profile.sh
  51. 3 0
      frameworks/Haskell/wai/setup.sh
  52. 1 1
      frameworks/Java/README.md
  53. 0 2
      frameworks/Java/activeweb/bash_profile.sh
  54. 2 0
      frameworks/Java/activeweb/setup.sh
  55. 0 2
      frameworks/Java/gemini/bash_profile.sh
  56. 3 0
      frameworks/Java/gemini/setup.sh
  57. 0 3
      frameworks/Java/play1/bash_profile.sh
  58. 1 0
      frameworks/Java/play1/setup.sh
  59. 0 4
      frameworks/Java/play1siena/bash_profile.sh
  60. 2 0
      frameworks/Java/play1siena/setup.sh
  61. 0 1
      frameworks/Java/play2-java/bash_profile.sh
  62. 0 1
      frameworks/Java/servlet/bash_profile.sh
  63. 1 0
      frameworks/Java/servlet/setup.sh
  64. 0 3
      frameworks/Java/servlet3-cass/bash_profile.sh
  65. 2 2
      frameworks/Java/servlet3-cass/setup.sh
  66. 0 2
      frameworks/Java/spark/bash_profile.sh
  67. 2 0
      frameworks/Java/spark/setup.sh
  68. 0 2
      frameworks/Java/tapestry/bash_profile.sh
  69. 2 0
      frameworks/Java/tapestry/setup.sh
  70. 0 1
      frameworks/Java/wicket/bash_profile.sh
  71. 1 0
      frameworks/Java/wicket/setup.sh
  72. 0 3
      frameworks/JavaScript/express/bash_profile.sh
  73. 1 0
      frameworks/JavaScript/express/setup.sh
  74. 0 3
      frameworks/JavaScript/hapi/bash_profile.sh
  75. 1 0
      frameworks/JavaScript/hapi/setup.sh
  76. 0 3
      frameworks/JavaScript/nodejs/bash_profile.sh
  77. 2 0
      frameworks/JavaScript/nodejs/install.sh
  78. 1 0
      frameworks/JavaScript/nodejs/setup.sh
  79. 0 3
      frameworks/Lua/lapis/bash_profile.sh
  80. 2 1
      frameworks/Lua/lapis/setup.sh
  81. 0 3
      frameworks/Lua/openresty/bash_profile.sh
  82. 1 0
      frameworks/Lua/openresty/setup.sh
  83. 2 2
      frameworks/PHP/README.md
  84. 0 7
      frameworks/PHP/Yii2/bash_profile.sh
  85. 3 2
      frameworks/PHP/Yii2/install.sh
  86. 3 0
      frameworks/PHP/Yii2/setup.sh
  87. 2 1
      frameworks/PHP/cakephp/install.sh
  88. 3 4
      frameworks/PHP/codeigniter/install.sh
  89. 0 7
      frameworks/PHP/fuel/bash_profile.sh
  90. 2 1
      frameworks/PHP/fuel/install.sh
  91. 4 0
      frameworks/PHP/fuel/setup.sh
  92. 0 9
      frameworks/PHP/hhvm/bash_profile.sh
  93. 5 0
      frameworks/PHP/hhvm/setup_hhvm.sh
  94. 4 4
      frameworks/PHP/kohana/install.sh
  95. 2 3
      frameworks/PHP/lithium/install.sh
  96. 0 7
      frameworks/PHP/php-fatfree/bash_profile.sh
  97. 4 0
      frameworks/PHP/php-fatfree/setup.sh
  98. 6 4
      frameworks/PHP/php-laravel/install.sh
  99. 2 1
      frameworks/PHP/php-laravel/setup.sh
  100. 0 7
      frameworks/PHP/php-micromvc/bash_profile.sh

+ 0 - 16
frameworks/C++/ULib/bash_profile.sh

@@ -1,16 +0,0 @@
-#---------------------------------------------------------------------------------------------------------
-# bash_profile.sh - set the environment of our ULib installation
-#---------------------------------------------------------------------------------------------------------
-# TROOT - Path of this test's directory
-# IROOT - Path of this test's install directory ($FWROOT/installs or $FWROOT/installs/pertest/<test-name>)
-#---------------------------------------------------------------------------------------------------------
-# INFO:root:Running installation for ULib
-# INSTALL: 
-#    export TROOT=$FWROOT/ULib && 
-#    export IROOT=$FWROOT/installs && 
-#    . $FWROOT/toolset/setup/linux/bash_functions.sh && 
-#    . $FWROOT/ULib/install.sh (cwd=$FWROOT//installs)
-#---------------------------------------------------------------------------------------------------------
-export ULIB_VERSION=1.4.2
-export ULIB_ROOT=$IROOT/ULib
-export ULIB_DOCUMENT_ROOT=${ULIB_ROOT}/ULIB_DOCUMENT_ROOT

+ 4 - 0
frameworks/C++/ULib/setup.sh

@@ -1,5 +1,9 @@
 #!/bin/bash
 #!/bin/bash
 
 
+export ULIB_VERSION=1.4.2
+export ULIB_ROOT=$IROOT/ULib
+export ULIB_DOCUMENT_ROOT=${ULIB_ROOT}/ULIB_DOCUMENT_ROOT
+
 export UMEMPOOL="136,0,0,85,1160,155,-17,-22,40"
 export UMEMPOOL="136,0,0,85,1160,155,-17,-22,40"
 
 
 # 1. Change ULib Server configuration
 # 1. Change ULib Server configuration

+ 4 - 0
frameworks/C++/ULib/setup_mysql.sh

@@ -1,5 +1,9 @@
 #!/bin/bash
 #!/bin/bash
 
 
+export ULIB_VERSION=1.4.2
+export ULIB_ROOT=$IROOT/ULib
+export ULIB_DOCUMENT_ROOT=${ULIB_ROOT}/ULIB_DOCUMENT_ROOT
+
 export ORM_DRIVER="mysql"
 export ORM_DRIVER="mysql"
 export ORM_OPTION="host=${DBHOST} user=benchmarkdbuser password=benchmarkdbpass character-set=utf8 dbname=hello_world"
 export ORM_OPTION="host=${DBHOST} user=benchmarkdbuser password=benchmarkdbpass character-set=utf8 dbname=hello_world"
 
 

+ 4 - 0
frameworks/C++/ULib/setup_sqlite.sh

@@ -1,5 +1,9 @@
 #!/bin/bash
 #!/bin/bash
 
 
+export ULIB_VERSION=1.4.2
+export ULIB_ROOT=$IROOT/ULib
+export ULIB_DOCUMENT_ROOT=${ULIB_ROOT}/ULIB_DOCUMENT_ROOT
+
 export ORM_DRIVER="sqlite"
 export ORM_DRIVER="sqlite"
 export ORM_OPTION="host=${DBHOST} user=benchmarkdbuser password=benchmarkdbpass character-set=utf8 dbname=${ULIB_ROOT}/db/%.*s"
 export ORM_OPTION="host=${DBHOST} user=benchmarkdbuser password=benchmarkdbpass character-set=utf8 dbname=${ULIB_ROOT}/db/%.*s"
 
 

+ 0 - 3
frameworks/C++/cpoll_cppsp/bash_profile.sh

@@ -1,3 +0,0 @@
-#!/bin/bash
-
-export CPPSP_HOME=$IROOT/cppsp_0.2.3

+ 1 - 0
frameworks/C++/cpoll_cppsp/setup.sh

@@ -1,4 +1,5 @@
 #!/bin/bash
 #!/bin/bash
+export CPPSP_HOME=$IROOT/cppsp_0.2.3
 
 
 sed -i 's|#define BENCHMARK_DB_HOST ".*"|#define BENCHMARK_DB_HOST "'"$DBHOST"'"|g' www/connectioninfo.H
 sed -i 's|#define BENCHMARK_DB_HOST ".*"|#define BENCHMARK_DB_HOST "'"$DBHOST"'"|g' www/connectioninfo.H
 
 

+ 0 - 11
frameworks/C++/wt/bash_profile.sh

@@ -1,11 +0,0 @@
-#!/bin/bash
-
-export BOOST_ROOT=/usr/local
-export BOOST_INC=${BOOST_ROOT}/include
-export BOOST_LIB=${BOOST_ROOT}/lib
-
-export WT_ROOT=${IROOT}/wt
-export WT_LIB=${WT_ROOT}/lib
-export WT_INC=${WT_ROOT}/include
-
-export LD_LIBRARY_PATH="${BOOST_LIB}:${WT_LIB}:${LD_LIBRARY_PATH}"

+ 10 - 0
frameworks/C++/wt/install.sh

@@ -1,3 +1,13 @@
 #!/bin/bash
 #!/bin/bash
 
 
+export BOOST_ROOT=/usr/local
+export BOOST_INC=${BOOST_ROOT}/include
+export BOOST_LIB=${BOOST_ROOT}/lib
+
+export WT_ROOT=${IROOT}/wt
+export WT_LIB=${WT_ROOT}/lib
+export WT_INC=${WT_ROOT}/include
+
+export LD_LIBRARY_PATH="${BOOST_LIB}:${WT_LIB}:${LD_LIBRARY_PATH}"
+
 fw_depends apache wt
 fw_depends apache wt

+ 7 - 0
frameworks/C++/wt/setup.sh

@@ -1,4 +1,11 @@
 #!/bin/bash
 #!/bin/bash
+export BOOST_ROOT=/usr/local
+export BOOST_INC=${BOOST_ROOT}/include
+export BOOST_LIB=${BOOST_ROOT}/lib
+
+export WT_ROOT=${IROOT}/wt
+export WT_LIB=${WT_ROOT}/lib
+export WT_INC=${WT_ROOT}/include
 
 
 # This has to be included here since it is one of the vars NOT copied from the original environment
 # This has to be included here since it is one of the vars NOT copied from the original environment
 export LD_LIBRARY_PATH="${BOOST_LIB}:${WT_LIB}:${LD_LIBRARY_PATH}"
 export LD_LIBRARY_PATH="${BOOST_LIB}:${WT_LIB}:${LD_LIBRARY_PATH}"

+ 8 - 0
frameworks/C++/wt/setup_postgres.sh

@@ -1,7 +1,15 @@
 #!/bin/bash
 #!/bin/bash
+export BOOST_ROOT=/usr/local
+export BOOST_INC=${BOOST_ROOT}/include
+export BOOST_LIB=${BOOST_ROOT}/lib
+
+export WT_ROOT=${IROOT}/wt
+export WT_LIB=${WT_ROOT}/lib
+export WT_INC=${WT_ROOT}/include
 
 
 # This has to be included here since it is one of the vars NOT copied from the original environment
 # This has to be included here since it is one of the vars NOT copied from the original environment
 export LD_LIBRARY_PATH="${BOOST_LIB}:${WT_LIB}:${LD_LIBRARY_PATH}"
 export LD_LIBRARY_PATH="${BOOST_LIB}:${WT_LIB}:${LD_LIBRARY_PATH}"
+export CPLUS_INCLUDE_PATH=/usr/include/postgresql:/usr/include/postgresql/9.3/server:$CPLUS_INCLUDE_PATH
 
 
 sed -i 's|INSERT_DB_HOST_HERE|'"${DBHOST}"'|g' benchmark.cpp
 sed -i 's|INSERT_DB_HOST_HERE|'"${DBHOST}"'|g' benchmark.cpp
 
 

+ 0 - 3
frameworks/C/duda/bash_profile.sh

@@ -1,3 +0,0 @@
-#!/bin/bash
-
-export DUDA_HOME=${IROOT}/dudac-0.23

+ 1 - 0
frameworks/C/duda/setup.sh

@@ -1,5 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 
 
+export DUDA_HOME=${IROOT}/dudac-0.23
 export PATH=${DUDA_HOME}:$PATH
 export PATH=${DUDA_HOME}:$PATH
 
 
 dudac -w $TROOT/webservice -p 2001 &
 dudac -w $TROOT/webservice -p 2001 &

+ 0 - 5
frameworks/Clojure/compojure/bash_profile.sh

@@ -1,5 +0,0 @@
-#!/bin/bash
-
-export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64
-export RESIN_HOME=${IROOT}/resin-4.0.41
-export LEIN_HOME=$IROOT/lein

+ 3 - 0
frameworks/Clojure/compojure/setup.sh

@@ -1,4 +1,7 @@
 #!/bin/bash
 #!/bin/bash
+export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64
+export RESIN_HOME=${IROOT}/resin-4.0.41
+export LEIN_HOME=$IROOT/lein
 
 
 # Path vars must be set here
 # Path vars must be set here
 export PATH="$JAVA_HOME/bin:$PATH"
 export PATH="$JAVA_HOME/bin:$PATH"

+ 0 - 5
frameworks/Clojure/http-kit/bash_profile.sh

@@ -1,5 +0,0 @@
-#!/bin/bash
-
-export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64
-
-export LEIN_HOME=$IROOT/lein

+ 2 - 0
frameworks/Clojure/http-kit/setup.sh

@@ -1,4 +1,6 @@
 #!/bin/bash
 #!/bin/bash
+export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64
+export LEIN_HOME=$IROOT/lein
 
 
 cd hello
 cd hello
 $LEIN_HOME/bin/lein clean
 $LEIN_HOME/bin/lein clean

+ 0 - 2
frameworks/Clojure/luminus/bash_profile.sh

@@ -1,2 +0,0 @@
-export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64
-export RESIN_HOME=${IROOT}/resin-4.0.41

+ 2 - 0
frameworks/Clojure/luminus/setup.sh

@@ -1,4 +1,6 @@
 #!/bin/bash
 #!/bin/bash
+export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64
+export RESIN_HOME=${IROOT}/resin-4.0.41
 
 
 # Path vars must be set here
 # Path vars must be set here
 export PATH="$JAVA_HOME/bin:$PATH"
 export PATH="$JAVA_HOME/bin:$PATH"

+ 0 - 5
frameworks/Dart/dart-redstone/bash_profile.sh

@@ -1,5 +0,0 @@
-#!/bin/bash
-
-export DART_HOME=$IROOT/dart-sdk
-
-export PUB_CACHE=$IROOT/.pubcache

+ 2 - 0
frameworks/Dart/dart-redstone/setup.sh

@@ -1,4 +1,6 @@
 #!/bin/bash
 #!/bin/bash
+export DART_HOME=$IROOT/dart-sdk
+export PUB_CACHE=$IROOT/.pubcache
 
 
 sed -i 's|host: .*|host: '"${DBHOST}"'|g' postgresql.yaml
 sed -i 's|host: .*|host: '"${DBHOST}"'|g' postgresql.yaml
 sed -i 's|host: .*|host: '"${DBHOST}"'|g' mongodb.yaml
 sed -i 's|host: .*|host: '"${DBHOST}"'|g' mongodb.yaml

+ 0 - 7
frameworks/Dart/dart-start/bash_profile.sh

@@ -1,7 +0,0 @@
-#!/bin/bash
-
-export DART_HOME=$IROOT/dart-sdk
-
-export PUB_CACHE=$IROOT/.pubcache
-
-export NGINX_HOME=$IROOT/nginx

+ 3 - 0
frameworks/Dart/dart-start/setup.sh

@@ -1,4 +1,7 @@
 #!/bin/bash
 #!/bin/bash
+export DART_HOME=$IROOT/dart-sdk
+export PUB_CACHE=$IROOT/.pubcache
+export NGINX_HOME=$IROOT/nginx
 
 
 sed -i 's|host: .*|host: '"${DBHOST}"'|g' postgresql.yaml
 sed -i 's|host: .*|host: '"${DBHOST}"'|g' postgresql.yaml
 sed -i 's|host: .*|host: '"${DBHOST}"'|g' mongodb.yaml
 sed -i 's|host: .*|host: '"${DBHOST}"'|g' mongodb.yaml

+ 0 - 7
frameworks/Dart/dart-stream/bash_profile.sh

@@ -1,7 +0,0 @@
-#!/bin/bash
-
-export DART_HOME=$IROOT/dart-sdk
-
-export PUB_CACHE=$IROOT/.pubcache
-
-export NGINX_HOME=$IROOT/nginx

+ 3 - 0
frameworks/Dart/dart-stream/setup.sh

@@ -1,4 +1,7 @@
 #!/bin/bash
 #!/bin/bash
+export DART_HOME=$IROOT/dart-sdk
+export PUB_CACHE=$IROOT/.pubcache
+export NGINX_HOME=$IROOT/nginx
 
 
 sed -i 's|host: .*|host: '"${DBHOST}"'|g' postgresql.yaml
 sed -i 's|host: .*|host: '"${DBHOST}"'|g' postgresql.yaml
 sed -i 's|host: .*|host: '"${DBHOST}"'|g' mongodb.yaml
 sed -i 's|host: .*|host: '"${DBHOST}"'|g' mongodb.yaml

+ 0 - 5
frameworks/Dart/dart/bash_profile.sh

@@ -1,5 +0,0 @@
-#!/bin/bash
-
-export DART_HOME=$IROOT/dart-sdk
-
-export PUB_CACHE=$IROOT/.pubcache

+ 5 - 1
frameworks/Dart/dart/setup.sh

@@ -2,6 +2,10 @@
 
 
 sed -i 's|host: .*|host: '"${DBHOST}"'|g' postgresql.yaml
 sed -i 's|host: .*|host: '"${DBHOST}"'|g' postgresql.yaml
 
 
+export DART_HOME=$IROOT/dart-sdk
+
+export PUB_CACHE=$IROOT/.pubcache
+
 $DART_HOME/bin/pub upgrade
 $DART_HOME/bin/pub upgrade
 
 
-$DART_HOME/bin/dart server.dart -a 0.0.0.0 -p 8080 -d ${MAX_THREADS} -i ${MAX_THREADS} &
+$DART_HOME/bin/dart server.dart -a 0.0.0.0 -p 8080 -d ${MAX_THREADS} -i ${MAX_THREADS} &

+ 0 - 3
frameworks/Erlang/cowboy/bash_profile.sh

@@ -1,3 +0,0 @@
-#!/bin/bash
-
-export REBAR_HOME=$IROOT/rebar

+ 1 - 0
frameworks/Erlang/cowboy/setup_erlang.sh

@@ -1,4 +1,5 @@
 #!/bin/bash
 #!/bin/bash
+export REBAR_HOME=$IROOT/rebar
 
 
 sed -i 's|"benchmarkdbpass", ".*", 3306|"benchmarkdbpass", "'"${DBHOST}"'", 3306|g' src/hello_world_app.erl
 sed -i 's|"benchmarkdbpass", ".*", 3306|"benchmarkdbpass", "'"${DBHOST}"'", 3306|g' src/hello_world_app.erl
 
 

+ 0 - 3
frameworks/Erlang/elli/bash_profile.sh

@@ -1,3 +0,0 @@
-#!/bin/bash
-
-export REBAR_HOME=$IROOT/rebar

+ 1 - 0
frameworks/Erlang/elli/setup_erlang.sh

@@ -1,4 +1,5 @@
 #!/bin/bash
 #!/bin/bash
+export REBAR_HOME=$IROOT/rebar
 
 
 sed -i 's|"benchmarkdbpass", ".*", 3306|"benchmarkdbpass", "'"${DBHOST}"'", 3306|g' src/elli_bench_sup.erl
 sed -i 's|"benchmarkdbpass", ".*", 3306|"benchmarkdbpass", "'"${DBHOST}"'", 3306|g' src/elli_bench_sup.erl
 
 

+ 0 - 6
frameworks/Go/beego/bash_profile.sh

@@ -1,6 +0,0 @@
-#!/bin/bash
-
-# Set the root of our go installation
-export GOROOT=${IROOT}/go
-
-export GOPATH=${TROOT}

+ 3 - 0
frameworks/Go/beego/setup.sh

@@ -1,4 +1,7 @@
 #!/bin/bash
 #!/bin/bash
+# Set the root of our go installation
+export GOROOT=${IROOT}/go
+export GOPATH=${TROOT}
 
 
 sed -i 's|tcp(.*:3306)|tcp('"${DBHOST}"':3306)|g' src/hello/hello.go
 sed -i 's|tcp(.*:3306)|tcp('"${DBHOST}"':3306)|g' src/hello/hello.go
 
 

+ 0 - 6
frameworks/Go/falcore/bash_profile.sh

@@ -1,6 +0,0 @@
-#!/bin/bash
-
-# Set the root of our go installation
-export GOROOT=${IROOT}/go
-
-export GOPATH=${TROOT}

+ 3 - 0
frameworks/Go/falcore/setup.sh

@@ -1,4 +1,7 @@
 #!/bin/bash
 #!/bin/bash
+# Set the root of our go installation
+export GOROOT=${IROOT}/go
+export GOPATH=${TROOT}
 
 
 sed -i 's|tcp(.*:3306)|tcp('"${DBHOST}"':3306)|g' src/framework_benchmarks/falcore.go
 sed -i 's|tcp(.*:3306)|tcp('"${DBHOST}"':3306)|g' src/framework_benchmarks/falcore.go
 
 

+ 0 - 6
frameworks/Go/gin/bash_profile.sh

@@ -1,6 +0,0 @@
-#!/bin/bash
-
-# Set the root of our go installation
-export GOROOT=${IROOT}/go
-
-export GOPATH=${TROOT}

+ 3 - 0
frameworks/Go/gin/setup.sh

@@ -1,4 +1,7 @@
 #!/bin/bash
 #!/bin/bash
+# Set the root of our go installation
+export GOROOT=${IROOT}/go
+export GOPATH=${TROOT}
 
 
 # Where to find the go executable
 # Where to find the go executable
 export PATH="$GOROOT/bin:$PATH"
 export PATH="$GOROOT/bin:$PATH"

+ 0 - 4
frameworks/Go/go/bash_profile.sh

@@ -1,4 +0,0 @@
-# Set the root of our go installation
-export GOROOT=${IROOT}/go
-
-export GOPATH=${TROOT}

+ 3 - 0
frameworks/Go/go/setup.sh

@@ -1,4 +1,7 @@
 #!/bin/bash
 #!/bin/bash
+# Set the root of our go installation
+export GOROOT=${IROOT}/go
+export GOPATH=${TROOT}
 
 
 sed -i 's|tcp(.*:3306)|tcp('"${DBHOST}"':3306)|g' src/hello/hello.go
 sed -i 's|tcp(.*:3306)|tcp('"${DBHOST}"':3306)|g' src/hello/hello.go
 
 

+ 0 - 6
frameworks/Go/revel-jet/bash_profile.sh

@@ -1,6 +0,0 @@
-#!/bin/bash
-
-# Set the root of our go installation
-export GOROOT=${IROOT}/go
-
-export GOPATH=${TROOT}

+ 3 - 0
frameworks/Go/revel-jet/setup.sh

@@ -1,4 +1,7 @@
 #!/bin/bash
 #!/bin/bash
+# Set the root of our go installation
+export GOROOT=${IROOT}/go
+export GOPATH=${TROOT}
 
 
 sed -i 's|tcp(.*:3306)|tcp('"${DBHOST}"':3306)|g' src/benchmark/conf/app.conf
 sed -i 's|tcp(.*:3306)|tcp('"${DBHOST}"':3306)|g' src/benchmark/conf/app.conf
 
 

+ 0 - 4
frameworks/Go/revel-qbs/bash_profile.sh

@@ -1,4 +0,0 @@
-# Set the root of our go installation
-export GOROOT=${IROOT}/go
-
-export GOPATH=${TROOT}

+ 3 - 0
frameworks/Go/revel-qbs/setup.sh

@@ -1,4 +1,7 @@
 #!/bin/bash
 #!/bin/bash
+# Set the root of our go installation
+export GOROOT=${IROOT}/go
+export GOPATH=${TROOT}
 
 
 sed -i 's|tcp(.*:3306)|tcp('"${DBHOST}"':3306)|g' src/benchmark/conf/app.conf
 sed -i 's|tcp(.*:3306)|tcp('"${DBHOST}"':3306)|g' src/benchmark/conf/app.conf
 
 

+ 0 - 4
frameworks/Go/revel/bash_profile.sh

@@ -1,4 +0,0 @@
-# Set the root of our go installation
-export GOROOT=${IROOT}/go
-
-export GOPATH=${TROOT}

+ 3 - 0
frameworks/Go/revel/setup.sh

@@ -1,4 +1,7 @@
 #!/bin/bash
 #!/bin/bash
+# Set the root of our go installation
+export GOROOT=${IROOT}/go
+export GOPATH=${TROOT}
 
 
 sed -i 's|tcp(.*:3306)|tcp('"${DBHOST}"':3306)|g' src/benchmark/conf/app.conf
 sed -i 's|tcp(.*:3306)|tcp('"${DBHOST}"':3306)|g' src/benchmark/conf/app.conf
 
 

+ 0 - 6
frameworks/Go/webgo/bash_profile.sh

@@ -1,6 +0,0 @@
-#!/bin/bash
-
-# Set the root of our go installation
-export GOROOT=${IROOT}/go
-
-export GOPATH=${TROOT}

+ 3 - 0
frameworks/Go/webgo/setup.sh

@@ -1,4 +1,7 @@
 #!/bin/bash
 #!/bin/bash
+# Set the root of our go installation
+export GOROOT=${IROOT}/go
+export GOPATH=${TROOT}
 
 
 # Where to find the go executable
 # Where to find the go executable
 export PATH="$GOROOT/bin:$PATH"
 export PATH="$GOROOT/bin:$PATH"

+ 3 - 3
frameworks/Groovy/grails/setup.sh

@@ -1,14 +1,14 @@
 #!/bin/bash
 #!/bin/bash
+
 export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64
 export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64
 export RESIN_HOME=${IROOT}/resin-4.0.41
 export RESIN_HOME=${IROOT}/resin-4.0.41
-
 export GRAILS_PATH=${IROOT}/grails-2.4.4/bin/
 export GRAILS_PATH=${IROOT}/grails-2.4.4/bin/
 
 
-sed -i 's|jdbc:mysql://.*:3306|jdbc:mysql://'"${DBHOST}"':3306|g' hello/grails-app/conf/DataSource.groovy
-
 export PATH=${GRAILS_PATH}:$PATH
 export PATH=${GRAILS_PATH}:$PATH
 export GRAILS_AGENT_CACHE_DIR=${IROOT}/.grails/.slcache
 export GRAILS_AGENT_CACHE_DIR=${IROOT}/.grails/.slcache
 
 
+sed -i 's|jdbc:mysql://.*:3306|jdbc:mysql://'"${DBHOST}"':3306|g' hello/grails-app/conf/DataSource.groovy
+
 cd hello
 cd hello
 grails -Dgrails.work.dir=${IROOT}/.grails -non-interactive -plain-output refresh-dependencies
 grails -Dgrails.work.dir=${IROOT}/.grails -non-interactive -plain-output refresh-dependencies
 grails -Dgrails.work.dir=${IROOT}/.grails -non-interactive -plain-output compile
 grails -Dgrails.work.dir=${IROOT}/.grails -non-interactive -plain-output compile

+ 0 - 5
frameworks/Haskell/snap/bash_profile.sh

@@ -1,5 +0,0 @@
-#!/bin/bash
-
-export CABAL_HOME=/opt/cabal/1.20
-export HASKELL_HOME=/opt/ghc/7.8.3
-export LANG=en_US.UTF-8

+ 3 - 0
frameworks/Haskell/snap/setup.sh

@@ -1,4 +1,7 @@
 #!/bin/bash
 #!/bin/bash
+export CABAL_HOME=/opt/cabal/1.20
+export HASKELL_HOME=/opt/ghc/7.8.3
+export LANG=en_US.UTF-8
 
 
 sed -i 's|host=".*"|host="'"${DBHOST}"'"|g' bench/cfg/db.cfg
 sed -i 's|host=".*"|host="'"${DBHOST}"'"|g' bench/cfg/db.cfg
 
 

+ 0 - 5
frameworks/Haskell/wai/bash_profile.sh

@@ -1,5 +0,0 @@
-#!/bin/bash
-
-export CABAL_HOME=/opt/cabal/1.20
-export HASKELL_HOME=/opt/ghc/7.8.3
-export LANG=en_US.UTF-8

+ 3 - 0
frameworks/Haskell/wai/setup.sh

@@ -1,4 +1,7 @@
 #!/bin/bash
 #!/bin/bash
+export CABAL_HOME=/opt/cabal/1.20
+export HASKELL_HOME=/opt/ghc/7.8.3
+export LANG=en_US.UTF-8
 
 
 export PATH=${HASKELL_HOME}/bin:$PATH
 export PATH=${HASKELL_HOME}/bin:$PATH
 
 

+ 1 - 1
frameworks/Java/README.md

@@ -10,6 +10,6 @@ that contains at least
 This installs the OpenJDK 7 JVM.
 This installs the OpenJDK 7 JVM.
 
 
 Frameworks can also choose to install Oracle Java 8 JVM by declaring a dependency on "java8"
 Frameworks can also choose to install Oracle Java 8 JVM by declaring a dependency on "java8"
-instead of java. In order to use Java 8 JVM frameworks need to add the following line in their "bash_profile.sh" file:
+instead of java. In order to use Java 8 JVM frameworks need to add the following line in their "setup.sh" file:
 
 
 export JAVA_HOME=/opt/java8
 export JAVA_HOME=/opt/java8

+ 0 - 2
frameworks/Java/activeweb/bash_profile.sh

@@ -1,2 +0,0 @@
-export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64
-export RESIN_HOME=${IROOT}/resin-4.0.41

+ 2 - 0
frameworks/Java/activeweb/setup.sh

@@ -1,4 +1,6 @@
 #!/bin/bash
 #!/bin/bash
+export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64
+export RESIN_HOME=${IROOT}/resin-4.0.41
 
 
 sed -i 's|localhost|'"${DBHOST}"'|g' src/main/webapp/WEB-INF/resin-web.xml
 sed -i 's|localhost|'"${DBHOST}"'|g' src/main/webapp/WEB-INF/resin-web.xml
 sed -i 's|localhost|'"${DBHOST}"'|g' src/main/java/app/config/DbConfig.java
 sed -i 's|localhost|'"${DBHOST}"'|g' src/main/java/app/config/DbConfig.java

+ 0 - 2
frameworks/Java/gemini/bash_profile.sh

@@ -1,2 +0,0 @@
-export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64
-export RESIN_HOME=${IROOT}/resin-4.0.41

+ 3 - 0
frameworks/Java/gemini/setup.sh

@@ -7,6 +7,9 @@
 # of their initial setup.  On Windows, the script can be run through 
 # of their initial setup.  On Windows, the script can be run through 
 # Git bash.
 # Git bash.
 
 
+export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64
+export RESIN_HOME=${IROOT}/resin-4.0.41
+
 projectName="GeminiHello"
 projectName="GeminiHello"
 machineNameUpper="`echo $HOSTNAME|tr '[a-z]' '[A-Z]'`"
 machineNameUpper="`echo $HOSTNAME|tr '[a-z]' '[A-Z]'`"
 machineNameLower="`echo $HOSTNAME|tr '[A-Z]' '[a-z]'`"
 machineNameLower="`echo $HOSTNAME|tr '[A-Z]' '[a-z]'`"

+ 0 - 3
frameworks/Java/play1/bash_profile.sh

@@ -1,3 +0,0 @@
-#!/bin/bash
-
-export PLAY1_HOME=${IROOT}/play-1.2.5

+ 1 - 0
frameworks/Java/play1/setup.sh

@@ -1,4 +1,5 @@
 #!/bin/bash
 #!/bin/bash
+export PLAY1_HOME=${IROOT}/play-1.2.5
 
 
 sed -i 's|jdbc:mysql://.*:3306|jdbc:mysql://'"${DBHOST}"':3306|g' conf/application.conf
 sed -i 's|jdbc:mysql://.*:3306|jdbc:mysql://'"${DBHOST}"':3306|g' conf/application.conf
 
 

+ 0 - 4
frameworks/Java/play1siena/bash_profile.sh

@@ -1,4 +0,0 @@
-#!/bin/bash
-
-export PLAY1_HOME=${IROOT}/play-1.2.5
-export RESIN_HOME=${IROOT}/resin-4.0.41

+ 2 - 0
frameworks/Java/play1siena/setup.sh

@@ -1,4 +1,6 @@
 #!/bin/bash
 #!/bin/bash
+export PLAY1_HOME=${IROOT}/play-1.2.5
+export RESIN_HOME=${IROOT}/resin-4.0.41
 
 
 sed -i 's|jdbc:mysql://.*:3306|jdbc:mysql://'"${DBHOST}"':3306|g' conf/application.conf
 sed -i 's|jdbc:mysql://.*:3306|jdbc:mysql://'"${DBHOST}"':3306|g' conf/application.conf
 
 

+ 0 - 1
frameworks/Java/play2-java/bash_profile.sh

@@ -1 +0,0 @@
-# Intentionally blank

+ 0 - 1
frameworks/Java/servlet/bash_profile.sh

@@ -1 +0,0 @@
-export RESIN_HOME=${IROOT}/resin-4.0.41

+ 1 - 0
frameworks/Java/servlet/setup.sh

@@ -1,4 +1,5 @@
 #!/bin/bash
 #!/bin/bash
+export RESIN_HOME=${IROOT}/resin-4.0.41
 
 
 sed -i 's|localhost|'"${DBHOST}"'|g' src/main/webapp/WEB-INF/resin-web.xml
 sed -i 's|localhost|'"${DBHOST}"'|g' src/main/webapp/WEB-INF/resin-web.xml
 
 

+ 0 - 3
frameworks/Java/servlet3-cass/bash_profile.sh

@@ -1,3 +0,0 @@
-export JAVA_HOME=/opt/java8
-export JAVA_EXE=$JAVA_HOME/bin/java
-export RESIN_HOME=${IROOT}/resin-4.0.41

+ 2 - 2
frameworks/Java/servlet3-cass/setup.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
-
-#!/bin/bash
+export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64
+export RESIN_HOME=${IROOT}/resin-4.0.41
 
 
 sed -i 's|localhost|'"${DBHOST}"'|g' src/main/resources/application.properties
 sed -i 's|localhost|'"${DBHOST}"'|g' src/main/resources/application.properties
 
 

+ 0 - 2
frameworks/Java/spark/bash_profile.sh

@@ -1,2 +0,0 @@
-export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64
-export RESIN_HOME=${IROOT}/resin-4.0.41

+ 2 - 0
frameworks/Java/spark/setup.sh

@@ -1,4 +1,6 @@
 #!/bin/bash
 #!/bin/bash
+export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64
+export RESIN_HOME=${IROOT}/resin-4.0.41
 
 
 sed -i 's|mysql://.*:3306|mysql://'"${DBHOST}"':3306|g' src/main/webapp/WEB-INF/resin-web.xml
 sed -i 's|mysql://.*:3306|mysql://'"${DBHOST}"':3306|g' src/main/webapp/WEB-INF/resin-web.xml
 
 

+ 0 - 2
frameworks/Java/tapestry/bash_profile.sh

@@ -1,2 +0,0 @@
-export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64
-export RESIN_HOME=${IROOT}/resin-4.0.41

+ 2 - 0
frameworks/Java/tapestry/setup.sh

@@ -1,4 +1,6 @@
 #!/bin/bash
 #!/bin/bash
+export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64
+export RESIN_HOME=${IROOT}/resin-4.0.41
 
 
 sed -i 's|mysql://.*:3306|mysql://'"${DBHOST}"':3306|g' hello/src/main/webapp/WEB-INF/resin-web.xml
 sed -i 's|mysql://.*:3306|mysql://'"${DBHOST}"':3306|g' hello/src/main/webapp/WEB-INF/resin-web.xml
 
 

+ 0 - 1
frameworks/Java/wicket/bash_profile.sh

@@ -1 +0,0 @@
-export RESIN_HOME=${IROOT}/resin-4.0.41

+ 1 - 0
frameworks/Java/wicket/setup.sh

@@ -1,4 +1,5 @@
 #!/bin/bash
 #!/bin/bash
+export RESIN_HOME=${IROOT}/resin-4.0.41
 
 
 sed -i 's|mysql://.*:3306|mysql://'"${DBHOST}"':3306|g' src/main/webapp/WEB-INF/resin-web.xml
 sed -i 's|mysql://.*:3306|mysql://'"${DBHOST}"':3306|g' src/main/webapp/WEB-INF/resin-web.xml
 
 

+ 0 - 3
frameworks/JavaScript/express/bash_profile.sh

@@ -1,3 +0,0 @@
-#!/bin/bash
-
-export NODE_HOME=${IROOT}/node-v0.10.8-linux-x64

+ 1 - 0
frameworks/JavaScript/express/setup.sh

@@ -1,4 +1,5 @@
 #!/bin/bash
 #!/bin/bash
+export NODE_HOME=${IROOT}/node-v0.10.8-linux-x64
 
 
 sed -i 's|mongodb://.*/hello_world|mongodb://'"${DBHOST}"'/hello_world|g' app.js
 sed -i 's|mongodb://.*/hello_world|mongodb://'"${DBHOST}"'/hello_world|g' app.js
 sed -i 's|localhost|'"${DBHOST}"'|g' app.js
 sed -i 's|localhost|'"${DBHOST}"'|g' app.js

+ 0 - 3
frameworks/JavaScript/hapi/bash_profile.sh

@@ -1,3 +0,0 @@
-#!/bin/bash
-
-export NODE_HOME=${IROOT}/node-v0.10.8-linux-x64

+ 1 - 0
frameworks/JavaScript/hapi/setup.sh

@@ -1,4 +1,5 @@
 #!/bin/bash
 #!/bin/bash
+export NODE_HOME=${IROOT}/node-v0.10.8-linux-x64
 
 
 sed -i 's|localhost|'"${DBHOST}"'|g' app.js
 sed -i 's|localhost|'"${DBHOST}"'|g' app.js
 
 

+ 0 - 3
frameworks/JavaScript/nodejs/bash_profile.sh

@@ -1,3 +0,0 @@
-#!/bin/bash
-
-export NODE_HOME=${IROOT}/node-v0.10.8-linux-x64

+ 2 - 0
frameworks/JavaScript/nodejs/install.sh

@@ -1,3 +1,5 @@
 #!/bin/bash
 #!/bin/bash
 
 
+export NODE_HOME=${IROOT}/node-v0.10.8-linux-x64
+
 fw_depends nodejs
 fw_depends nodejs

+ 1 - 0
frameworks/JavaScript/nodejs/setup.sh

@@ -1,4 +1,5 @@
 #!/bin/bash
 #!/bin/bash
+export NODE_HOME=${IROOT}/node-v0.10.8-linux-x64
 
 
 sed -i 's|localhost|'"${DBHOST}"'|g' hello.js
 sed -i 's|localhost|'"${DBHOST}"'|g' hello.js
 sed -i 's|mongodb//.*/hello_world|mongodb//'"${DBHOST}"'/hello_world|g' hello.js
 sed -i 's|mongodb//.*/hello_world|mongodb//'"${DBHOST}"'/hello_world|g' hello.js

+ 0 - 3
frameworks/Lua/lapis/bash_profile.sh

@@ -1,3 +0,0 @@
-#!/bin/bash
-
-export OPENRESTY_HOME=${IROOT}/openresty-1.7.7.1

+ 2 - 1
frameworks/Lua/lapis/setup.sh

@@ -4,6 +4,7 @@ sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' config.lua
 sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' config.moon
 sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' config.moon
 sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' nginx.conf
 sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' nginx.conf
 
 
-export PATH=${OPENRESTY_HOME}/nginx/sbin:$PATH
+export LAPIS_OPENRESTY=${IROOT}/openresty-1.7.7.1
+export PATH=${LAPIS_OPENRESTY}/nginx/sbin:$PATH
 
 
 lapis server production &
 lapis server production &

+ 0 - 3
frameworks/Lua/openresty/bash_profile.sh

@@ -1,3 +0,0 @@
-#!/bin/bash
-
-export OPENRESTY_HOME=${IROOT}/openresty-1.7.7.1

+ 1 - 0
frameworks/Lua/openresty/setup.sh

@@ -1,4 +1,5 @@
 #!/bin/bash
 #!/bin/bash
+export OPENRESTY_HOME=${IROOT}/openresty-1.7.7.1
 
 
 sed -i 's|CWD|'"${TROOT}"'|g' nginx.conf
 sed -i 's|CWD|'"${TROOT}"'|g' nginx.conf
 sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' app.lua
 sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' app.lua

+ 2 - 2
frameworks/PHP/README.md

@@ -100,7 +100,7 @@ install the dependencies required by your project.
     fw_depends php composer 
     fw_depends php composer 
     
     
     # Download dependencies
     # Download dependencies
-    ${IROOT}/php-5.5.17/bin/php $IROOT/composer.phar install \
+    ${IROOT}/php-5.5.17/bin/php ${COMPOSER_HOME}/composer.phar install \
     --no-interaction --working-dir $TROOT --no-progress \
     --no-interaction --working-dir $TROOT --no-progress \
     --optimize-autoloader 
     --optimize-autoloader 
 
 
@@ -139,7 +139,7 @@ queries as they are shown. Use these steps
     # This will manually prompt you for your Github credentials 
     # This will manually prompt you for your Github credentials 
     # to avoid the Github rate limit
     # to avoid the Github rate limit
     # When this command completes, you will have a lock file 
     # When this command completes, you will have a lock file 
-    ${IROOT}/php-5.5.17/bin/php $IROOT/composer.phar install \
+    ${IROOT}/php-5.5.17/bin/php ${COMPOSER_HOME}/composer.phar install \
       --working-dir $TROOT
       --working-dir $TROOT
     
     
     # Add the lock file to this repository
     # Add the lock file to this repository

+ 0 - 7
frameworks/PHP/Yii2/bash_profile.sh

@@ -1,7 +0,0 @@
-#!/bin/bash
-
-export PHP_HOME=${IROOT}/php-5.5.17
-
-export PHP_FPM=$PHP_HOME/sbin/php-fpm
-
-export NGINX_HOME=${IROOT}/nginx

+ 3 - 2
frameworks/PHP/Yii2/install.sh

@@ -1,8 +1,9 @@
 #!/bin/bash
 #!/bin/bash
+export PHP_HOME=${IROOT}/php-5.5.17
+export COMPOSER_HOME=${IROOT}/php-composer
 
 
 fw_depends php nginx composer
 fw_depends php nginx composer
 
 
-PHP_HOME=${IROOT}/php-5.5.17
-${PHP_HOME}/bin/php $IROOT/composer.phar install \
+${PHP_HOME}/bin/php ${COMPOSER_HOME}/composer.phar install \
   --no-interaction --working-dir $TROOT \
   --no-interaction --working-dir $TROOT \
   --no-progress --optimize-autoloader 
   --no-progress --optimize-autoloader 

+ 3 - 0
frameworks/PHP/Yii2/setup.sh

@@ -1,4 +1,7 @@
 #!/bin/bash
 #!/bin/bash
+export PHP_HOME=${IROOT}/php-5.5.17
+export PHP_FPM=$PHP_HOME/sbin/php-fpm
+export NGINX_HOME=${IROOT}/nginx
 
 
 sed -i 's|localhost|'"${DBHOST}"'|g' app/index.php
 sed -i 's|localhost|'"${DBHOST}"'|g' app/index.php
 sed -i 's|root .*/FrameworkBenchmarks/php-yii2|root '"${TROOT}"'|g' deploy/nginx.conf
 sed -i 's|root .*/FrameworkBenchmarks/php-yii2|root '"${TROOT}"'|g' deploy/nginx.conf

+ 2 - 1
frameworks/PHP/cakephp/install.sh

@@ -1,11 +1,12 @@
 #!/bin/bash
 #!/bin/bash
 
 
 export PHP_HOME=${IROOT}/php-5.5.17
 export PHP_HOME=${IROOT}/php-5.5.17
+export COMPOSER_HOME=${IROOT}/php-composer
 export PHP_FPM=$PHP_HOME/sbin/php-fpm
 export PHP_FPM=$PHP_HOME/sbin/php-fpm
 export NGINX_HOME=${IROOT}/nginx
 export NGINX_HOME=${IROOT}/nginx
 
 
 fw_depends php nginx composer
 fw_depends php nginx composer
 
 
-${PHP_HOME}/bin/php $IROOT/composer.phar install \
+${PHP_HOME}/bin/php ${COMPOSER_HOME}/composer.phar install \
   --no-interaction --working-dir $TROOT \
   --no-interaction --working-dir $TROOT \
   --no-progress --optimize-autoloader 
   --no-progress --optimize-autoloader 

+ 3 - 4
frameworks/PHP/codeigniter/install.sh

@@ -1,13 +1,12 @@
 #!/bin/bash
 #!/bin/bash
 
 
 export PHP_HOME=${IROOT}/php-5.5.17
 export PHP_HOME=${IROOT}/php-5.5.17
-
-export PHP_FPM=$PHP_HOME/sbin/php-fpm
-
+export COMPOSER_HOME=${IROOT}/php-composer
+export PHP_FPM=${PHP_HOME}/sbin/php-fpm
 export NGINX_HOME=${IROOT}/nginx
 export NGINX_HOME=${IROOT}/nginx
 
 
 fw_depends php nginx composer
 fw_depends php nginx composer
 
 
-${PHP_HOME}/bin/php $IROOT/composer.phar install \
+${PHP_HOME}/bin/php ${COMPOSER_HOME}/composer.phar install \
   --no-interaction --working-dir $TROOT \
   --no-interaction --working-dir $TROOT \
   --no-progress --optimize-autoloader 
   --no-progress --optimize-autoloader 

+ 0 - 7
frameworks/PHP/fuel/bash_profile.sh

@@ -1,7 +0,0 @@
-#!/bin/bash
-
-export PHP_HOME=${IROOT}/php-5.5.17
-
-export PHP_FPM=$PHP_HOME/sbin/php-fpm
-
-export NGINX_HOME=${IROOT}/nginx

+ 2 - 1
frameworks/PHP/fuel/install.sh

@@ -1,12 +1,13 @@
 #!/bin/bash
 #!/bin/bash
 
 
 export PHP_HOME=${IROOT}/php-5.5.17
 export PHP_HOME=${IROOT}/php-5.5.17
+export COMPOSER_HOME=${IROOT}/php-composer
 export PHP_FPM=$PHP_HOME/sbin/php-fpm
 export PHP_FPM=$PHP_HOME/sbin/php-fpm
 export NGINX_HOME=${IROOT}/nginx
 export NGINX_HOME=${IROOT}/nginx
 
 
 
 
 fw_depends php nginx composer
 fw_depends php nginx composer
 
 
-${PHP_HOME}/bin/php $IROOT/composer.phar install \
+${PHP_HOME}/bin/php ${COMPOSER_HOME}/composer.phar install \
   --no-interaction --working-dir $TROOT \
   --no-interaction --working-dir $TROOT \
   --no-progress --optimize-autoloader 
   --no-progress --optimize-autoloader 

+ 4 - 0
frameworks/PHP/fuel/setup.sh

@@ -1,4 +1,8 @@
 #!/bin/bash
 #!/bin/bash
+export PHP_HOME=${IROOT}/php-5.5.17
+export PHP_FPM=$PHP_HOME/sbin/php-fpm
+export NGINX_HOME=${IROOT}/nginx
+
 
 
 sed -i 's|localhost|'"${DBHOST}"'|g' fuel/app/config/production/db.php
 sed -i 's|localhost|'"${DBHOST}"'|g' fuel/app/config/production/db.php
 sed -i 's|root .*/FrameworkBenchmarks/php-fuel|root '"${TROOT}"'|g' deploy/nginx.conf
 sed -i 's|root .*/FrameworkBenchmarks/php-fuel|root '"${TROOT}"'|g' deploy/nginx.conf

+ 0 - 9
frameworks/PHP/hhvm/bash_profile.sh

@@ -1,9 +0,0 @@
-#!/bin/bash
-
-export PHP_HOME=${IROOT}/php-5.5.17
-
-export PHP_FPM=$PHP_HOME/sbin/php-fpm
-
-export PATH="$PHP_HOME/bin:$PHP_HOME/sbin:$PATH"
-
-export NGINX_HOME=${IROOT}/nginx

+ 5 - 0
frameworks/PHP/hhvm/setup_hhvm.sh

@@ -1,5 +1,10 @@
 #!/bin/bash
 #!/bin/bash
 
 
+export PHP_HOME=${IROOT}/php-5.5.17
+export PHP_FPM=${PHP_HOME}/sbin/php-fpm
+export PATH="$PHP_HOME/bin:$PHP_HOME/sbin:$PATH"
+export NGINX_HOME=${IROOT}/nginx
+
 sed -i 's|host=localhost;|host='"${DBHOST}"';|g' once.php.inc
 sed -i 's|host=localhost;|host='"${DBHOST}"';|g' once.php.inc
 sed -i 's|SourceRoot = .*/FrameworkBenchmarks/hhvm|SourceRoot = '"${TROOT}"'|g' deploy/config.hdf
 sed -i 's|SourceRoot = .*/FrameworkBenchmarks/hhvm|SourceRoot = '"${TROOT}"'|g' deploy/config.hdf
 sed -i 's|Path = .*/.hhvm.hhbc|Path = '"${TROOT}"'/.hhvm.bbhc|g' deploy/config.hdf
 sed -i 's|Path = .*/.hhvm.hhbc|Path = '"${TROOT}"'/.hhvm.bbhc|g' deploy/config.hdf

+ 4 - 4
frameworks/PHP/kohana/install.sh

@@ -1,12 +1,12 @@
 #!/bin/bash
 #!/bin/bash
-
-fw_depends php nginx composer
-
 export PHP_HOME=${IROOT}/php-5.5.17
 export PHP_HOME=${IROOT}/php-5.5.17
+export COMPOSER_HOME=${IROOT}/php-composer
 export PHP_FPM=$PHP_HOME/sbin/php-fpm
 export PHP_FPM=$PHP_HOME/sbin/php-fpm
 export NGINX_HOME=${IROOT}/nginx
 export NGINX_HOME=${IROOT}/nginx
 
 
-${PHP_HOME}/bin/php $IROOT/composer.phar install \
+fw_depends php nginx composer
+
+${PHP_HOME}/bin/php ${COMPOSER_HOME}/composer.phar install \
   --no-interaction --working-dir $TROOT \
   --no-interaction --working-dir $TROOT \
   --no-progress --optimize-autoloader 
   --no-progress --optimize-autoloader 
 
 

+ 2 - 3
frameworks/PHP/lithium/install.sh

@@ -1,14 +1,13 @@
 #!/bin/bash
 #!/bin/bash
 
 
 export PHP_HOME=${IROOT}/php-5.5.17
 export PHP_HOME=${IROOT}/php-5.5.17
-
+export COMPOSER_HOME=${IROOT}/php-composer
 export PHP_FPM=$PHP_HOME/sbin/php-fpm
 export PHP_FPM=$PHP_HOME/sbin/php-fpm
-
 export NGINX_HOME=${IROOT}/nginx
 export NGINX_HOME=${IROOT}/nginx
 
 
 fw_depends php nginx composer
 fw_depends php nginx composer
 
 
-${PHP_HOME}/bin/php $IROOT/composer.phar install \
+${PHP_HOME}/bin/php ${COMPOSER_HOME}/composer.phar install \
   --no-interaction --working-dir $TROOT \
   --no-interaction --working-dir $TROOT \
   --no-progress --optimize-autoloader 
   --no-progress --optimize-autoloader 
 
 

+ 0 - 7
frameworks/PHP/php-fatfree/bash_profile.sh

@@ -1,7 +0,0 @@
-#!/bin/bash
-
-export PHP_HOME=${IROOT}/php-5.5.17
-
-export PHP_FPM=$PHP_HOME/sbin/php-fpm
-
-export NGINX_HOME=${IROOT}/nginx

+ 4 - 0
frameworks/PHP/php-fatfree/setup.sh

@@ -1,5 +1,9 @@
 #!/bin/bash
 #!/bin/bash
 
 
+export PHP_HOME=${IROOT}/php-5.5.17
+export PHP_FPM=${PHP_HOME}/sbin/php-fpm
+export NGINX_HOME=${IROOT}/nginx
+
 sed -i 's|localhost|'"${DBHOST}"'|g' index.php
 sed -i 's|localhost|'"${DBHOST}"'|g' index.php
 sed -i 's|.*/FrameworkBenchmarks/php-fatfree|'"${TROOT}"'|g' deploy/php
 sed -i 's|.*/FrameworkBenchmarks/php-fatfree|'"${TROOT}"'|g' deploy/php
 sed -i 's|Directory .*/FrameworkBenchmarks/php-fatfree|Directory '"${TROOT}"'|g' deploy/php
 sed -i 's|Directory .*/FrameworkBenchmarks/php-fatfree|Directory '"${TROOT}"'|g' deploy/php

+ 6 - 4
frameworks/PHP/php-laravel/install.sh

@@ -1,9 +1,11 @@
 #!/bin/bash
 #!/bin/bash
 
 
-fw_depends php nginx composer
-
 export PHP_HOME=${IROOT}/php-5.5.17
 export PHP_HOME=${IROOT}/php-5.5.17
+export COMPOSER_HOME=${IROOT}/php-composer
+
+fw_depends php nginx composer
 
 
-${PHP_HOME}/bin/php ${IROOT}/composer.phar install \
+${PHP_HOME}/bin/php ${COMPOSER_HOME}/composer.phar install \
   --no-interaction --working-dir ${TROOT} \
   --no-interaction --working-dir ${TROOT} \
-  --no-progress --optimize-autoloader 
+  --no-progress --optimize-autoloader 
+  

+ 2 - 1
frameworks/PHP/php-laravel/setup.sh

@@ -1,6 +1,7 @@
 #!/bin/bash
 #!/bin/bash
 
 
 export PHP_HOME=${IROOT}/php-5.5.17
 export PHP_HOME=${IROOT}/php-5.5.17
+export COMPOSER_HOME=${IROOT}/php-composer
 export PHP_FPM=${PHP_HOME}/sbin/php-fpm
 export PHP_FPM=${PHP_HOME}/sbin/php-fpm
 export NGINX_HOME=${IROOT}/nginx
 export NGINX_HOME=${IROOT}/nginx
 
 
@@ -11,4 +12,4 @@ sed -i 's|/home/vagrant/FrameworkBenchmarks/installs/nginx/|'"${IROOT}"'/nginx/|
 export PATH="${PHP_HOME}/bin:${PHP_HOME}/sbin:$PATH"
 export PATH="${PHP_HOME}/bin:${PHP_HOME}/sbin:$PATH"
 
 
 $PHP_FPM --fpm-config ${FWROOT}/config/php-fpm.conf -g ${TROOT}/deploy/php-fpm.pid
 $PHP_FPM --fpm-config ${FWROOT}/config/php-fpm.conf -g ${TROOT}/deploy/php-fpm.pid
-${NGINX_HOME}/sbin/nginx -c ${TROOT}/deploy/nginx.conf
+${NGINX_HOME}/sbin/nginx -c ${TROOT}/deploy/nginx.conf

+ 0 - 7
frameworks/PHP/php-micromvc/bash_profile.sh

@@ -1,7 +0,0 @@
-#!/bin/bash
-
-export PHP_HOME=${IROOT}/php-5.5.17
-
-export PHP_FPM=$PHP_HOME/sbin/php-fpm
-
-export NGINX_HOME=${IROOT}/nginx

Some files were not shown because too many files changed in this diff