This guide will help you set up and run the project using Docker. This project is hosted on Vercel, and the updated link will be sent to the contributor of a main branch merge.
This project consists of the following components:
- Backend: Python FastAPI
- Frontend: Vue.js
- Database: SQLite
DevOps:
- Containerization: Docker
- CI/CD: GitHub Actions
- Hosting: Vercel
- Windows & Mac users: Download Docker Desktop
- Linux users: Download Docker Compose
-
Run Docker Desktop
- Ensure Docker Desktop is running on your machine.
-
Clone the Repository & Start a New Branch
git clone https://github.com/AndrewJesse/can_project_docker cd can_project_docker git checkout -b <new_branch_name>
-
Navigate to the Root Folder and Run Docker Compose
docker-compose up
-
Open Your Browser and Navigate to:
-
Make Changes to Code and Push
- Make your code changes.
- Commit and push your changes to the repository.
git add . git commit -m "Your commit message" git push origin <new_branch_name>
-
Merge to Main Branch and Deploy
- The project is configured to be automatically deployed to Vercel upon merging changes to the
mainbranch. - Once changes are approved, merge your branch into the
mainbranch. - Upon merging, the project will be automatically deployed to Vercel.
- The updated deployment link can be found at the top of this page github.com/AndrewJesse/can_project_docker/deployments.
- The project is configured to be automatically deployed to Vercel upon merging changes to the