Commit 8e41b4ce authored by Daniel Gerhardt's avatar Daniel Gerhardt
Browse files

Add Grunt package task

parent 32864a1a
......@@ -114,4 +114,4 @@ maintenance branch to apply the version change commit to master:
To create a .war archive ready for deployment in a Java servlet container run
the following command:
$ grunt build war
$ grunt package
......@@ -379,6 +379,10 @@ module.exports = function (grunt) {
"build",
"clean:tmp"
]);
grunt.registerTask("package", [
"default",
"war"
]);
grunt.registerTask("run", [
"clean",
"build:dojo:dev",
......
......@@ -24,7 +24,7 @@ Presenter is provided packaged as a web archive file (.war) which can be
deployed on a Java servlet container. You can download it from the
[releases page](https://github.com/thm-projects/arsnova-presenter/releases) or
[build it yourself](CONTRIBUTING.md) with [Grunt](http://gruntjs.com/)
(`grunt build war`). Usually it is enough to copy this file to the webapps
(`grunt package`). Usually it is enough to copy this file to the webapps
directory of the container. Since Presenter does not contain any code that has
to be run on the server side, it is also possible to use it with a standard web
server. In this case extract the contents of the .war file with an archiving
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment