create-aragon-app v2.7.2
Create Aragon App
Will set up an Aragon app project so you can start building your app from a functional boilerplate.
Command
create-aragon-app <app-name> [boilerplate]app-name: The name or ENS domain name for your app in an aragonPM Registry (e.g.myappormyapp.aragonpm.eth). If only the name is provided it will create your app on the defaultaragonpm.ethregistry.boilerplate: the Github repo name or alias for a boilerplate to set up your app. It default toreact. The currently available boilerplates are:react: this boilerplate contains a very basic Counter app and a webapp for interacting with it. It showcases the end-to-end interaction using the buidler task runner with a custom plugin for developing Aragon apps from the contracts to the webapp.reactWithCli: (deprecated) this is similar to thereactboilerplate but use aragonCLI as development tool.
Example
npx create-aragon-app myapp
cd myapp
npm startOnce finished, this will open http://localhost:3000/ in your default browser.
Note: npx comes with npm 5.2+ and higher. If you use npm 5.1 or earlier, you can't use npx. Instead, install create-aragon-app globally.
Note: We also support yarn as a package manager during installation and will use it by default if you have it available in your PATH.
Tests
In the root of the repository, run:
npm test6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago