GoranMandic91 / blog-app-www

Simple blog application web client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

blog-app-www

Simple Blog Application web client

Install & run locally (Development)

  • Install node 12
  • Clone repo: git clone git@github.com:GoranMandic91/blog-app-www.git && cd blog-app-www
  • Run npm install
  • Start local server npm start
  • Go to: http://localhost:3000

Install & run in container (Production ready)

  • Clone repo: git clone git@github.com:GoranMandic91/blog-app-www.git && cd blog-app-www

  • Build docker image

docker build -t blog-app-www .
  • Run docker container
docker start blog-www 2>/dev/null || \
docker run --name blog-www \
  -p 9090:80 \
  -d blog-app-www:latest
  • Go to: http://localhost:9090

  • Run a command in a running container

docker exec -it blog-www sh
  • Get container logs
docker logs blog-www

About

Simple blog application web client


Languages

Language:TypeScript 94.0%Language:HTML 3.5%Language:CSS 1.8%Language:Dockerfile 0.6%Language:Shell 0.1%