By Integrating the code to main branch, ensure that we have passed several unit test before merging to the main branch. in this project we used nosetest package to test all functional unit and make sure it works. there are several configuration like installing some packages : nose
, pinocchio
, coverage
then create the automate script in setup.cfg
I am also included github action for supporting the CI pipeline and add some event whenever me or someone else push the code to the main branch it will catch the specific event (git push, etc) that triggering the task and jobs.
Launching to production is just using a vercel
platform. By pushing the code to the main branch the Vercel platform will execute the trigger and launching application to a production.
Go to Root Dircetory activate the virtual environment using the script below:
source Scripts/activate
The Docker Image is available in this site: backend-blog:development the docker image is automatically update when this repository is pushed and merged to the main branch