No description
Find a file
2019-08-09 12:17:04 +02:00
assets/images Initial commit 2019-06-19 16:40:52 +02:00
src Add missing files 2019-08-09 12:17:04 +02:00
.codeclimate.yml Initial commit 2019-06-19 16:40:52 +02:00
.gitignore Initial commit 2019-06-19 16:40:52 +02:00
.npmrc Initial commit 2019-06-19 16:40:52 +02:00
.travis.yml Initial commit 2019-06-19 16:40:52 +02:00
apollo.config.js Initial commit 2019-06-19 16:40:52 +02:00
CHANGELOG.md Initial commit 2019-06-19 16:40:52 +02:00
LICENSE Initial commit 2019-06-19 16:40:52 +02:00
package-lock.json Initial commit 2019-06-19 16:40:52 +02:00
package.json Fix storybook build 2019-06-19 17:19:18 +02:00
README.md Update readme 2019-06-19 17:41:42 +02:00
tsconfig.json Initial commit 2019-06-19 16:40:52 +02:00
tslint.json Initial commit 2019-06-19 16:40:52 +02:00
webpack.config.js Fix page reloading 2019-06-19 17:11:15 +02:00
webpack.d.ts Initial commit 2019-06-19 16:40:52 +02:00

Before you do anything

Run following command to install dependencies: npm i

Configuration

You'll need to set APP_MOUNT_URI and API_URI environment variables. Example: APP_MOUNT_URI=/ and API_URI=http://localhost:8000/graphql/ will mount dashboard at localhost:9000/ and set API URI to http://localhost:8000/graphql/. This is default config if you start Saleor at port 8000. Setting APP_MOUNT_URI to /dashboard/ will mount app at localhost:9000/dashboard/.

Development

Start development server by running following command: npm start

Production

Build application bundle by running following command: npm run build