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