The Odonto Dashboard is a comprehensive solution designed for dental clinics, enabling efficient management of patient information and appointment details.
To begin using the Odonto Dashboard, start by cloning the repository:
git clone https://github.com/tomazcx/odonto-dashboard-go.git
After cloning the repository, create an .env
file based on .env.example
and assign values to each variable according to its purpose.
Once all the variables are correctly assigned, initiate the development server using docker-compose
:
docker-compose up
The docker-compose.yml
file contains all the necessary configuration to set up the web app with a local mysql database, using the credentials and database name defined in the .env
file.
Finally, in another terminal instance, initiate the bundle to enable autoreload for Tailwind CSS:
npm run watch
Once the project is cloned locally, build the Docker image using the specified Dockerfile for the production environment:
docker build -t odonto-dashboard -f Dockerfile .
Run the container:
docker run -p ${APP_PORT}:${APP_PORT} -v .:/usr/local/app --name odonto-dashboard odonto-dashboard
This will set up the Odonto Dashboard in production mode, ready for efficient and secure use in a dental clinic setting.
Don't forget to assign the correct values for .env
variables, specifying the production database credentials, host and name.