-
Fork the repo to your own account
-
Clone the repo to your local machine
git clone <fork-adress>
- install dependencies
npm install
- Create a new branch
git checkout -b <branch-name>
- Add your route to the routes folder
- Test your route - by running the server and sending a request to your route
npm start
curl http://<your-ip>:3000/<your-route>
-
Build your docker image
-
Run your docker image
- Go to your forked repo on Github and go to Settings -> Actions -> Runners
- Follow the instructions to install a private runner on your local machine
- Run the runner(Not in Service mode)
- Push your code to your forked repo on Github
- for this you will need create a token and sign in from your terminal
git push origin <branch-name>
- Wait for the pipeline to complete - test your change on your machine
- wait for the pipeline to complete - test your change on our Production