a-jaxell / guidernas-guide

This is an app for planning outdoor activities for businesses in the outdoor industry.
0 stars 0 forks source link

CI/CD pipeline for API and Next.js #12

Open a-jaxell opened 8 months ago

a-jaxell commented 8 months ago

The idea is to implement a CI/CD pipeline that hosts the REST API and next.js on Digital Ocean. Ill use Github Actions and the tools available on Digital Ocean

The steps include:

  1. quality checks on code submitted to github
  2. build scripts
  3. making docker images
  4. hosting docker images
  5. starting containers with docker images
  6. starting servers

Tasks

a-jaxell commented 8 months ago

Ive divided the ci on backend and frontend to separate them from each other. Adding task for building and dockerizing each part

a-jaxell commented 7 months ago

Im going to separate the last three tasks into a new card in project view because hosting is not prioritized as of now.

Build scripts and build docker images and host these images. Pull images from registry on update and run them on Digital Ocean Make sure the database is separated from this CI and not included in the process because of risk of losing data