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] 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 ```