Merge pull request #854 from SiIky/update_install-nix

docs: update installation process
This commit is contained in:
Rafael Taranto 2021-11-11 18:28:58 +00:00 committed by GitHub
commit 73e29dfea6
2 changed files with 32 additions and 18 deletions

View file

@ -38,7 +38,6 @@ bash tools/cert-gen.sh
Notes: Notes:
- This will create a ``.lamassu`` directory in your home directory. - 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 ## Set up database
@ -48,34 +47,42 @@ Important: lamassu-migrate currently gripes about a QueryResultError. Ignore thi
node bin/lamassu-migrate node bin/lamassu-migrate
``` ```
## Register admin user ## Run new-lamassu-admin
You'll use this generated URL in the brower in moment.
``` ```
node bin/lamassu-register admin cd new-lamassu-admin/
npm install
npm run start
``` ```
## Run lamassu-admin-server ## Run lamassu-admin-server
In first terminal window: In a second terminal window:
``` ```
node bin/lamassu-admin-server --dev 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 ## Complete configuration
Paste the URL from lamassu-register exactly as output, into a browser (chrome or firefox). 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. Go to all the required, unconfigured red fields and choose some values. Choose mock services whenever available.
## Run lamassu-server ## Run lamassu-server
In second terminal window:
``` ```
node bin/lamassu-server --mockSms node bin/lamassu-server --mockSms
``` ```

View file

@ -56,7 +56,6 @@ bash tools/cert-gen.sh
Notes: Notes:
- This will create a ``.lamassu`` directory in your home directory. - 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 ## Set up database
@ -66,34 +65,42 @@ Important: lamassu-migrate currently gripes about a QueryResultError. Ignore thi
node bin/lamassu-migrate node bin/lamassu-migrate
``` ```
## Register admin user ## Run new-lamassu-admin
You'll use this generated URL in the brower in moment.
``` ```
node bin/lamassu-register admin cd new-lamassu-admin/
npm install
npm run start
``` ```
## Run lamassu-admin-server ## Run lamassu-admin-server
In first terminal window: In a second terminal window:
``` ```
node bin/lamassu-admin-server --dev 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 ## Complete configuration
Paste the URL from lamassu-register exactly as output, into a browser (chrome or firefox). 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. Go to all the required, unconfigured red fields and choose some values. Choose mock services whenever available.
## Run lamassu-server ## Run lamassu-server
In second terminal window:
``` ```
node bin/lamassu-server --mockSms node bin/lamassu-server --mockSms
``` ```