You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rave.apache.org by mf...@apache.org on 2014/07/14 18:13:33 UTC
[2/2] git commit: Updates Vagrant config and README.
Updates Vagrant config and README.
Project: http://git-wip-us.apache.org/repos/asf/rave/repo
Commit: http://git-wip-us.apache.org/repos/asf/rave/commit/b7786294
Tree: http://git-wip-us.apache.org/repos/asf/rave/tree/b7786294
Diff: http://git-wip-us.apache.org/repos/asf/rave/diff/b7786294
Branch: refs/heads/angular
Commit: b7786294e1fe3fdc69c2f19bad3e254887cb35e6
Parents: 71b4e15
Author: Jmeas <je...@gmail.com>
Authored: Tue Jul 8 15:32:12 2014 -0400
Committer: Jmeas <je...@gmail.com>
Committed: Tue Jul 8 15:39:54 2014 -0400
----------------------------------------------------------------------
README.txt | 16 ++++++++++++++--
deploy/ansible/roles/maven/tasks/main.yml | 1 +
gruntfile.js | 9 +++++++++
3 files changed, 24 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/rave/blob/b7786294/README.txt
----------------------------------------------------------------------
diff --git a/README.txt b/README.txt
index 71c1415..2225e77 100644
--- a/README.txt
+++ b/README.txt
@@ -48,6 +48,18 @@ To run the apache rave application:
- SSH into the vagrant box
- Run the following command to start the rave portal
- `mvn cargo:run -f /rave/rave-portal/pom.xml`
+ `sudo mvn cargo:run -f /rave/rave-portal/pom.xml`
- open url http://rave.dev:8080/portal in a browser
- - press Ctrl-C in the console to stop the application
\ No newline at end of file
+ - Login as user `canonical` with the password `canonical`
+
+When you're done, you can type `ctrl + C` in the console to stop the application.
+
+Unbuilding the Application
+==========================
+
+Building the application creates a handful of directories called `target` in the repository. To remove them all at once run `mvn clean` from
+the `/rave` directory on the Vagrantbox.
+
+Note that this will require that you re-provision the box to run the app. You can do this from the root directory of the application when you're
+*not on the box* by running `vagrant provision`.
+`vagrant provision` from
http://git-wip-us.apache.org/repos/asf/rave/blob/b7786294/deploy/ansible/roles/maven/tasks/main.yml
----------------------------------------------------------------------
diff --git a/deploy/ansible/roles/maven/tasks/main.yml b/deploy/ansible/roles/maven/tasks/main.yml
index a4d6639..083a759 100644
--- a/deploy/ansible/roles/maven/tasks/main.yml
+++ b/deploy/ansible/roles/maven/tasks/main.yml
@@ -37,4 +37,5 @@
- name: Install maven dependencies for apache rave
command: /usr/local/maven/latest/bin/mvn -DskipTests=true -DskipIntegrationTests=true clean install chdir={{ maven_rave_dir }} creates={{ maven_rave_dir }}/target
+ sudo: yes
tags: maven
http://git-wip-us.apache.org/repos/asf/rave/blob/b7786294/gruntfile.js
----------------------------------------------------------------------
diff --git a/gruntfile.js b/gruntfile.js
new file mode 100644
index 0000000..68d2e15
--- /dev/null
+++ b/gruntfile.js
@@ -0,0 +1,9 @@
+module.exports = function(grunt) {
+ require('load-grunt-tasks')(grunt);
+
+ grunt.initConfig({
+
+ });
+
+ grunt.registerTask('default', []);
+};