Skip to content

oferzi23/react-example

 
 

Repository files navigation

react-example

React example app that demonstrates using React with webpack, and babeljs, as well as project structure.

Requirements:

  • git
  • Node v6
  • npm v3

To run the app locally:

git clone https://github.com/mzabriskie/react-example.git
cd react-example
npm run setup
npm run dev
open https://localhost:8080

CI Workflow

each push event to this fork will trigger a travis-ci build flow which will:

  • test the code on an instance
  • build the docker image using the Dockerfile
  • push the image to Dockerhub here
  • add deployment

Run Inside a Container

runnig this project inside a container can be done by pulling the image from dockerhub. images are deployed with each push event and are pushed to the registry under oferzi23/react-example:<version>-<build>

to pull: docker pull oferzi23/react-example:<version>-<build> to run: docker run -p <external_PORT>:8080 <image name>

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 95.2%
  • CSS 3.7%
  • HTML 1.1%