|
|
||
|---|---|---|
| node_modules | ||
| service | ||
| .gitignore | ||
| Dockerfile | ||
| README.md | ||
| docker-compose.yaml | ||
| index.js | ||
| install.sh | ||
| package-lock.json | ||
| package.json | ||
README.md
gitea_CICD
1) Clone project to your server
git clone https://gitea.nswteam.net/joseph/gitea_CICD.git
2) Access the folder you just cloned
root@root#
cd gitea_CICD
3) Check the directory path
root@root#
pwd
- output: /gitea_CICD
4) Create folder service_run
root@root#
mkdir service_run
Copy environment file
cp service/giteaService.conf service_run/giteaService.conf
5) Fill in environment variables (*)
root@root#
nano service_run/giteaService.conf
6) Run file "install.sh" to install service
root@root#
./install.sh

** Note: **
-
Project gitea_CICD should be placed at the same folder level as your project
├── your_project └── gitea_CICD project -
Depending on the technology your project uses, the "gitea_CICD/service/giteaHook.sh" file will be custom configured to match the technology.