docs: update installation process

This commit is contained in:
André Sá 2021-09-27 10:35:34 +01:00
parent b0fa62a9f3
commit 6894cfbb7c
2 changed files with 30 additions and 14 deletions

View file

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

View file

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