Browse Source

added env var to start app

ipolevoy 11 years ago
parent
commit
cfa2bb4a5a
2 changed files with 3 additions and 6 deletions
  1. 3 0
      activeweb/README.md
  2. 0 6
      activeweb/deploy_local.sh

+ 3 - 0
activeweb/README.md

@@ -11,9 +11,12 @@ How to start locally
 =========================
 =========================
 
 
 1. Execute this script against local MySQL DB:
 1. Execute this script against local MySQL DB:
+
     https://github.com/TechEmpower/FrameworkBenchmarks/blob/master/config/create.sql
     https://github.com/TechEmpower/FrameworkBenchmarks/blob/master/config/create.sql
+
 2. Start application:
 2. Start application:
 
 
+    export ACTIVE_ENV=local
     mvn jetty:run
     mvn jetty:run
 
 
 3. Access this URL with browser:
 3. Access this URL with browser:

+ 0 - 6
activeweb/deploy_local.sh

@@ -1,6 +0,0 @@
-export ACTIVE_ENV=local
-
-mvn clean package
-
-cp -f target/activeweb.war ~/programs/apache-tomcat-7.0.30_framework_benchmark/webapps/
-