项目作者: kodie

项目描述 :
A React Weather App Exercise
高级语言: JavaScript
项目地址: git://github.com/kodie/reather.git
创建时间: 2018-07-30T00:12:10Z
项目社区:https://github.com/kodie/reather

开源协议:MIT License

下载


Reather

Travis build status license

A React Weather App Exercise

Installation

  1. $ git clone https://github.com/kodie/reather.git
  2. $ cd reather
  3. $ npm install

Development

  1. $ npm start

The app will start in development mode available at http://localhost:3000 and will automatically refresh if you make any edits.

Test

  1. $ npm test

All API calls are mocked so that tests can be ran offline.

Build

  1. $ npm run build

An optimized production version of the app will be built in the /build folder. react-snapshot is used to pre-render the app.

Deployment

The app is automatically tested and then built and pushed to the gh-pages branch (which is served via GitHub Pages and available at https://kodie.github.io/reather) via Travis CI whenever a commit is pushed to master.

Optionally you can build and deploy manually by running:

  1. $ npm run deploy

License

MIT. See the LICENSE file for more info.