Skip to content
This repository has been archived by the owner on Jun 10, 2022. It is now read-only.

Commit

Permalink
Fixed yarn start with standalone
Browse files Browse the repository at this point in the history
  • Loading branch information
fboucquez committed Oct 25, 2020
1 parent f0882a7 commit 50aaba0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ docker.sh
**/npm-*.log
**/yarn-*.log
**/catapult-*.log

/rest/target/
/rest/logs.log
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Mongo DB (27017), Server (7900) and Broker (7902) ports are open to localhost.
In another terminal:

```
yarn start
yarn start:dev
```

If everything goes well, you should see catapult-rest running by opening ``http://localhost:3000/node/info`` in a new browser tab.
Expand All @@ -50,7 +50,7 @@ Alternatively, you can run bootstrap in `detached` mode to avoid opening a new t
cd rest
yarn build
yarn bootstrap-start-detached
yarn start
yarn start:dev
yarn bootstrap-stop
```

Expand Down
1 change: 1 addition & 0 deletions docker-build-local.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docker build -t symbol-rest-local .
4 changes: 2 additions & 2 deletions rest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"build": "ncp src/ _build",
"rebuild": "npm run clean && npm run build",
"version": "echo $npm_package_version",
"start": "node _build/index.js target/gateways/rest/rest.json",
"start:debug": "node src/index.js target/gateways/rest/rest.json",
"start": "node _build/index.js",
"start:dev": "node src/index.js target/gateways/rest/rest.json",
"test": "mocha --full-trace --recursive",
"test:coverage": "nyc npm test && nyc report --reporter=text-lcov",
"test:jenkins": "cross-env JUNIT_REPORT_PATH=test-results.xml mocha --reporter mocha-jenkins-reporter --mongoHost db --forbid-only --full-trace --recursive test || exit 0",
Expand Down

0 comments on commit 50aaba0

Please sign in to comment.