No description
Find a file
dominik-zeglen 24cd398146 Sort imports
2019-08-09 13:55:45 +02:00
assets/images Add missing assets 2019-08-09 13:55:21 +02:00
src Sort imports 2019-08-09 13:55:45 +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 Add travis config 2019-08-09 13:48:19 +02:00
apollo.config.js Use endpoint 2019-08-09 13:48:11 +02:00
LICENSE Initial commit 2019-06-19 16:40:52 +02:00
package-lock.json Update dependencies 2019-08-09 13:39:19 +02:00
package.json Update dependencies 2019-08-09 13:39:19 +02:00
README.md Update readme 2019-06-19 17:41:42 +02:00
tsconfig.json Update configs 2019-08-09 12:26:27 +02:00
tslint.json Update configs 2019-08-09 12:26:27 +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