Skip to content
This repository has been archived by the owner on Apr 18, 2018. It is now read-only.

yuqingc/daenerys

Repository files navigation

daenerys

A startup using React & Webpack

How to build this program?

Preparation

I recommand you use the node version, 8.0+. Yarn is recommanded.

Steps:

  1. Clone this Git repository to your own PC.
$ git clone git@github.com:yuqingc/daenerys.git

If you want to build your own project, remove the .git directory at the root derectory.

  1. Installing packages.
$ yarn

or

$ npm install
  1. Running

If you want to use the WebPack Dev Server instead of your own, run the following

$ yarn run build-server
$ yarn run run-server
  1. If you want to build the frontend project ONLY, instead of running it on a server, run
$ yarn run build-prod

or

yarn run build-dev 

for a developing version


Have fun coding!