Skip to content
This repository was archived by the owner on Mar 23, 2021. It is now read-only.

Commit 7b2ec7c

Browse files
committed
Enable yarn create comit-app <app-name>
No need to pass `new` before `<app-name>`.
1 parent 64230a7 commit 7b2ec7c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.npm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": " Set up a local development environment for COMIT apps with one command.",
55
"main": "cca.js",
66
"scripts": {
7-
"start": "node cca.js",
7+
"start": "node cca.js new",
88
"fix": "prettier --write '**/*.{ts,js,json,yml}'",
99
"test": "prettier --check '**/*.{ts,js,json,yml}'"
1010
},

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ If you have any question please [reach out to the team in our Gitter chat](https
1414

1515
## 2 - Create your first project!
1616

17-
1. `yarn create comit-app new <your-app-name>`,
17+
1. `yarn create comit-app <your-app-name>`,
1818
2. `yarn create comit-app start-env` to start blockchain and COMIT nodes,
1919
3. Run the [separate-apps](https://github.com/comit-network/create-comit-app/tree/master/new_project/examples/separate_apps) example (in separate terminals for the taker and maker):
2020
1. Navigate to the separate-apps example app directory `cd <path-to-your-app>/examples/separate-apps`,

0 commit comments

Comments
 (0)