Skip to content

Latest commit

 

History

History
61 lines (38 loc) · 1.55 KB

README.md

File metadata and controls

61 lines (38 loc) · 1.55 KB

Contact me on Codementor

londo-weather-forcast

A weather report and recommendation application that helps London tourists to understand what to wear.

Set-Up Guide

0. Before doing any of this, if you're using your own laptop/desktop, make sure you've got the latest versions of node and npm installed (npm v: 4.0.5 & node v: 7.4.0) :

node -v
npm -v

Installation

1. Clone this repository :

git clone --depth 1 https://github.com/mentrie/london-weather
cd london-weather

2. Make it your own if you wish:

rm -rf .git && git init && npm init

3. Install the dependencies :

npm install

Development Workflow

4. Start a live-reload development server :

npm run dev

This is a full web server for your project. Any time you make changes within the src directory, it will rebuild and even refresh your browser.

5. Generate a production build in ./build :

npm run build

6. Start local production server with serve:

npm start

This simply serves up the contents of ./build. Bear in mind, if you use this, the localhost port your server is running on will refresh, and you'll also need to restart it to see any changes you've made to the code in src.