git clone https://github.com/JonathanMitchell1234/ClermontCountyAssessment.git
-
Navigate to the project directory in your terminal.
-
Run the following command to start the MySQL database:
docker-compose up -d
Alternatively, use the build_database.sql script to build
the database manually
- Build the Docker image for the backend service by navigating to the ClermontBackend Directory:
docker build -t backend-service .
- Run the backend service container:
docker run -d -p 5153:5153 --name backend_service backend-service
-
Open
index.htmlin your preferred web browser or use a live server extension in a development environment. -
Ensure that the backend service is running and accessible at
http://localhost:5153.
Since this is not a production environment application and is only a demo, the username and password to login has been set simply to:
Username: admin
Password: admin
- To stop the database and backend service, execute:
docker-compose down
docker stop backend_service
docker rm backend_service
-
The database initialization script
BUILD_DATABASE.SQLis automatically executed when the MySQL container starts. -
Ensure that ports
3306and5153are not occupied by other services on your machine.
