2016-09-13 09:37:22 +02:00
|
|
|
start the dual servers (dapp + mascara)
|
|
|
|
```
|
2017-04-27 14:26:29 +02:00
|
|
|
npm run mascara
|
2016-09-13 09:37:22 +02:00
|
|
|
```
|
|
|
|
|
2017-05-16 06:59:24 +02:00
|
|
|
### First time use:
|
2016-10-26 22:42:56 +02:00
|
|
|
|
2017-04-27 14:26:29 +02:00
|
|
|
- navigate to: http://localhost:9001
|
2016-10-26 22:42:56 +02:00
|
|
|
- Create an Account
|
2017-04-27 14:26:29 +02:00
|
|
|
- go back to http://localhost:9002
|
2016-10-26 22:42:56 +02:00
|
|
|
- open devTools
|
|
|
|
- click Sync Tx
|
2017-04-28 14:05:10 +02:00
|
|
|
|
2017-05-16 06:59:24 +02:00
|
|
|
### Tests:
|
2017-04-28 14:05:10 +02:00
|
|
|
|
|
|
|
```
|
|
|
|
npm run testMascara
|
|
|
|
```
|
|
|
|
|
|
|
|
Test will run in browser, you will have to have these browsers installed:
|
|
|
|
|
|
|
|
- Chrome
|
|
|
|
- Firefox
|
|
|
|
- Opera
|
2017-05-16 06:59:24 +02:00
|
|
|
|
|
|
|
|
|
|
|
### Deploy:
|
|
|
|
|
|
|
|
Will build and deploy mascara via docker
|
|
|
|
|
|
|
|
```
|
2017-05-16 07:12:06 +02:00
|
|
|
docker-compose build && docker-compose stop && docker-compose up -d && docker-compose logs --tail 200 -f
|
2017-05-16 06:59:24 +02:00
|
|
|
```
|