From 216a57bba6677e5ddeed7df0d31f1bb5f859c5be Mon Sep 17 00:00:00 2001 From: saiujwal chelamkuri <69893826+chsaiujwal@users.noreply.github.com> Date: Wed, 25 May 2022 17:17:23 +0530 Subject: [PATCH] Update README.md --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 08dc742..c5c2fa6 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,17 @@ source code of https://salvusmail.com/register.html page. Just a simple registraiton page with a hcaptcha, using Mail-In-A-Box's in-build api for creating email. + + +## Installation: + +1. Clone the files into your website directory (Your website directory is `/home/user-data/www/default`) +2. edit line numbers 195, 200 (pattern), 214 (data-sitekey) in register.html +3. edit line 40 (api) in action_page.php +4. create a file .env in `/home/user-data/www` and save your admin accout creds and captcha secret key in it, make sure format is like this: +``` +PWDD="PASSWORD_HERE" +EML="EMAILHERE@domain.com" +SEC="hCaptcha secret key here" +``` +5. make sure you have composer installed, run `composer install` in website directory.