1.0.13 • Published 5 years ago

react-rack-cli v1.0.13

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

React-rack-cli

Build Status npm package

A simple version for the PC side react + ant design scaffolding.

Installation

Prerequisites: Node.js (>=6.x, 8.x preferred), npm version 3+ and Git.

$ npm install -g react-rack-cli

Usage

$ react-rack init  <project-name>

You can use this command to check if you have successfully installed and the version number of the current installation.

$ react-rack --version

Example:

$ react-rack init  my-project

The above command pulls the template from react-rack-cli, prompts for some information, and generates the project at ./my-project/.

$ cd  my-project
$ npm install

Create a logs folder in the current directory

$ mkdir logs

Run

:fa-arrow-circle-o-right: Development environment

$ npm run build-dev

Start the node service

$ node server.js
Version 1.0.0 is a simple beta. This package is still being improved and optimized.

License

MIT