yarn install
- If you want to test with a local server, you probably want to install CouchDB: Setup guide.
yarn start
should start a server running onhttp://localhost:8080
. If you just want to build the project, trynpm run build
.- If you're trying to connect by IP (e.g. to test on your phone) you might
need to use
yarn start --host 0.0.0.0
. Nobody really knows why.
- If you're trying to connect by IP (e.g. to test on your phone) you might
need to use
Other targets:
yarn test
— Run automated testsyarn start:prod
— Test the production versionyarn build:prod
— Just build the production version. For example, to get package size information run:yarn build:prod --profile --json stats.json
.yarn storybook
— Play with componentsyarn build:storybook
— Check that storybook still builds