aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.rst17
1 files changed, 16 insertions, 1 deletions
diff --git a/README.rst b/README.rst
index 36ab9a65..8c6f05be 100644
--- a/README.rst
+++ b/README.rst
@@ -35,6 +35,8 @@ After installation, you will be able to connect with the email *root@pyAggr3g470
Deploying the application on Heroku
'''''''''''''''''''''''''''''''''''
+An instance of pyAggr3g470r is running `here <https://pyaggr3g470r.herokuapp.com/>`_ .
+
.. code:: bash
$ git clone https://bitbucket.org/cedricbonhomme/pyaggr3g470r.git
@@ -46,7 +48,20 @@ Deploying the application on Heroku
$ heroku run init
$ heroku ps:scale web=1
-An instance of pyAggr3g470r is running `here <https://pyaggr3g470r.herokuapp.com/>`_ .
+To enable account creation for users, you have to set some environment variables:
+
+.. code:: bash
+
+ $ heroku config:set PLATFORM_URL=<URL-of-your-platform>
+ $ heroku config:set RECAPTCHA_PUBLIC_KEY=<your-recaptcha-public-key>
+ $ heroku config:set RECAPTCHA_PRIVATE_KEY=<your-recaptcha-private-key>
+ $ heroku config:set ADMIN_EMAIL=<administrator-email>
+ $ heroku config:set POSTMARK_API_KEY=<your-postmark-api-key>
+
+`Postmark <https://postmarkapp.com/>`_ is used to send account confirmation links.
+
+If you don't want to open your platform you will be still able to create accounts via the administration page.
+
Deploying the application on a traditional server
'''''''''''''''''''''''''''''''''''''''''''''''''
bgstack15