# ui **Repository Path**: tianzx/ui ## Basic Information - **Project Name**: ui - **Description**: react redux antd frontend - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 2 - **Created**: 2016-11-07 - **Last Updated**: 2021-05-27 ## Categories & Tags **Categories**: react-extensions **Tags**: None ## README ## React Ant.Design Admin UI ## Features - [React](https://facebook.github.io/react/) - [Redux](https://github.com/reactjs/redux) - [Ant.Design](http://ant.design/) - [Babel](https://babeljs.io/) - [webpack](https://webpack.github.io/) - [mocha](https://mochajs.org/) - [enzyme](https://github.com/airbnb/enzyme) ## Getting Started Just clone the repo and install the necessary node modules: ```shell $ git clone https://github.com/tianzx/ui.git $ cd ui $ npm install $ npm start ``` ## Run test spec ```shell $ npm run test ``` ## Run production build ```shell $ npm run build ``` in your local machine ```shell $ scp -r localPath/ui/dist/ remotePath:ui ``` in your remote machine ```shell $ mv dist/* ./ $ cnpm install pm2 -g $ pm2 start server.js ``` notation: before execute the command ,you must ensure you have executed the command ```shell $ cnpm install rimraf -g ``` ## NOTICE ### replace npm with cnpm(in China)     https://npm.taobao.org/ ### add n to admin nodejs version     https://github.com/tj/n ### update npm     cnpm update -g npm