Skip to content

alexander-balashov/counter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Counter app

Web application

Getting started:

  1. Make sure that docker has been installed
  2. Build docker image
./build.sh
  1. Start MySQL server in docker
./start_db.sh
  1. Start counter app in docker
./start_app.sh
  1. Web app will be available on localhost:8000

Environment variables

  • ROOT_PASSWORD - root password to connect to database. By default: qwerty
  • DB_USER - user name to connect to database. By default: admin
  • DB_PASSWORD - user password to connect to database. By default: admin
  • DB_HOST - database address. By default: 127.0.0.1

Update application

  1. Rebuild docker image
./build.sh
  1. Stop docker container
docker stop counter-app
docker rm counter-app
  1. Start app
./start_app.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published