/ant-science

Primary LanguageJavaScript

ant-science

This is a sample Grommet application for reference.

To run this application, execute the following commands:

  1. Install NPM modules
```
$ npm install (or yarn install)
or npm install --registry=https://registry.npm.taobao.org
```
  1. Start the back-end server:
```
$ npm run dev-server
```
  1. Start the front-end dev server:
```
$ npm run dev
```
  1. Create the app distribution to be used by a back-end server
```
$ NODE_ENV=production grommet pack
```
  1. Start the server in production mode:
```
$ npm start
```
  1. Test and run linters:
```
$ npm test
```