Skip to content
This repository has been archived by the owner on Aug 23, 2020. It is now read-only.

lxghtless/react-xo-ava-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-xo-ava-app

react-xo-ava-app web app template

XO code style

Development

first things first...

$ npm i

Available commands

run dev server

$ npm start

run tests

$ npm test

run linter

$ npm run lint

create build

$ npm run build

Docker

commands

build

$ docker build -t react-xo-ava-app .

run

$ docker run --name react-xo-ava-app -p 8080:80 -d react-xo-ava-app

stop and remove

$ docker stop react-xo-ava-app && docker rm react-xo-ava-app

open with bash in container

For troubleshooting in the container, first change the docker file's FROM to be

FROM openresty/openresty:centos

stop and remove

$ run --name react-xo-ava-app -p 8080:80 --rm -i -t react-xo-ava-app bash