diff options
-rw-r--r-- | README.rst | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -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 ''''''''''''''''''''''''''''''''''''''''''''''''' |