From 6894cfbb7c5aa1870bb693598c6d3412f473508e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20S=C3=A1?= Date: Mon, 27 Sep 2021 10:35:34 +0100 Subject: [PATCH 1/2] docs: update installation process --- INSTALL-NIX.md | 22 +++++++++++++++------- INSTALL.md | 22 +++++++++++++++------- 2 files changed, 30 insertions(+), 14 deletions(-) diff --git a/INSTALL-NIX.md b/INSTALL-NIX.md index 0acfee92..83622962 100644 --- a/INSTALL-NIX.md +++ b/INSTALL-NIX.md @@ -48,22 +48,32 @@ Important: lamassu-migrate currently gripes about a QueryResultError. Ignore thi node bin/lamassu-migrate ``` -## Register admin user - -You'll use this generated URL in the brower in moment. +## Run new-lamassu-admin ``` -node bin/lamassu-register admin +cd new-lamassu-admin/ +npm install +npm run start ``` ## Run lamassu-admin-server -In first terminal window: +In a second terminal window: ``` node bin/lamassu-admin-server --dev ``` +## Register admin user + +In a third terminal window: + +``` +node bin/lamassu-register admin@example.com superuser +``` + +You'll use this generated URL in the brower in a moment. + ## Complete configuration Paste the URL from lamassu-register exactly as output, into a browser (chrome or firefox). @@ -74,8 +84,6 @@ Go to all the required, unconfigured red fields and choose some values. Choose m ## Run lamassu-server -In second terminal window: - ``` node bin/lamassu-server --mockSms ``` diff --git a/INSTALL.md b/INSTALL.md index 208e4e64..618a208c 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -66,22 +66,32 @@ Important: lamassu-migrate currently gripes about a QueryResultError. Ignore thi node bin/lamassu-migrate ``` -## Register admin user - -You'll use this generated URL in the brower in moment. +## Run new-lamassu-admin ``` -node bin/lamassu-register admin +cd new-lamassu-admin/ +npm install +npm run start ``` ## Run lamassu-admin-server -In first terminal window: +In a second terminal window: ``` node bin/lamassu-admin-server --dev ``` +## Register admin user + +In a third terminal window: + +``` +node bin/lamassu-register admin@example.com superuser +``` + +You'll use this generated URL in the brower in a moment. + ## Complete configuration Paste the URL from lamassu-register exactly as output, into a browser (chrome or firefox). @@ -92,8 +102,6 @@ Go to all the required, unconfigured red fields and choose some values. Choose m ## Run lamassu-server -In second terminal window: - ``` node bin/lamassu-server --mockSms ``` From f72c60678fcd8f23cafaf9ecfd2fd95dee1c229e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20S=C3=A1?= Date: Wed, 6 Oct 2021 12:38:29 +0100 Subject: [PATCH 2/2] chore: remove OpenSSL version requirement --- INSTALL-NIX.md | 3 +-- INSTALL.md | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/INSTALL-NIX.md b/INSTALL-NIX.md index c659dec3..992d3111 100644 --- a/INSTALL-NIX.md +++ b/INSTALL-NIX.md @@ -38,7 +38,6 @@ bash tools/cert-gen.sh Notes: - This will create a ``.lamassu`` directory in your home directory. - - The script uses the current openssl LTS version (1.0.2g) and will not work on v1.1. ## Set up database @@ -78,7 +77,7 @@ You'll use this generated URL in the brower in a moment. Paste the URL from lamassu-register exactly as output, into a browser (chrome or firefox). -**Important**: the host must be localhost. Tell your browser to trust the certificate even though it's not signed by a recognized CA. +**Important**: the host must be localhost. Tell your browser to trust the certificate even though it's not signed by a recognized CA. If you get an "expired" error, try opening https://localhost:8070/graphql in another tab and trust the certificate. Go to all the required, unconfigured red fields and choose some values. Choose mock services whenever available. diff --git a/INSTALL.md b/INSTALL.md index 1d09637d..e5360efa 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -56,7 +56,6 @@ bash tools/cert-gen.sh Notes: - This will create a ``.lamassu`` directory in your home directory. - - The script uses the current openssl LTS version (1.0.2g) and will not work on v1.1. ## Set up database @@ -96,7 +95,7 @@ You'll use this generated URL in the brower in a moment. Paste the URL from lamassu-register exactly as output, into a browser (chrome or firefox). -**Important**: the host must be localhost. Tell your browser to trust the certificate even though it's not signed by a recognized CA. +**Important**: the host must be localhost. Tell your browser to trust the certificate even though it's not signed by a recognized CA. If you get an "expired" error, try opening https://localhost:8070/graphql in another tab and trust the certificate. Go to all the required, unconfigured red fields and choose some values. Choose mock services whenever available.