summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2015-10-30 15:54:12 +0100
committervarac <varacanero@zeromail.org>2015-10-30 15:54:12 +0100
commit9831c95696cdd19cc297ed2a30d0de62cbb7f933 (patch)
tree2ca0d9f9ae4588619550f30a217577b6728fa5c5 /pages
parent365b2cce12b78c3e54bec572c789778c5b544adf (diff)
add location of webapp to invite code howto
Diffstat (limited to 'pages')
-rw-r--r--pages/docs/platform/services/webapp.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/pages/docs/platform/services/webapp.md b/pages/docs/platform/services/webapp.md
index 35cce41..1410d71 100644
--- a/pages/docs/platform/services/webapp.md
+++ b/pages/docs/platform/services/webapp.md
@@ -65,7 +65,10 @@ Run `leap deploy` to enable the option.
You can then generate invite codes by running the following rake task from the webapp directory:
- `sudo -u leap-webapp RAILS_ENV=production bundle exec rake generate_invites[x,y]`
+```
+cd /srv/leap/webapp/
+sudo -u leap-webapp RAILS_ENV=production bundle exec rake generate_invites[x,y]
+```
The *x* specifies the amount of codes to generate. The *y* parameter is optional: By default, all new invite codes can be used once and will then become invalid. If you provide another value for *y*, you can set a different amount of maximum uses for the codes you generate.