Go to file
Joseph Le 148c52c103 update README 2023-10-13 13:04:58 +11:00
node_modules update command, auto fill, folder_temp, .gitignore 2023-10-11 15:37:55 +11:00
service change install file 2023-10-12 18:50:00 +11:00
.gitignore update .gitignore 2023-10-12 14:34:50 +11:00
Dockerfile giteaHook service 2023-09-25 19:58:46 +10:00
README.md update README 2023-10-13 13:04:58 +11:00
abc.txt commit 2023-10-13 12:56:49 +11:00
docker-compose.yaml giteaHook service 2023-09-25 19:58:46 +10:00
index.js update .gitignore 2023-10-12 14:34:50 +11:00
install.sh change install file 2023-10-12 18:50:00 +11:00
package-lock.json update email and REAME.md 2023-10-03 09:24:10 +00:00
package.json update email and REAME.md 2023-10-03 09:24:10 +00:00

README.md

gitea_CICD

NodeJS

1) Clone project to your server

  git clone https://<USERNAME>:<PASSWORD>gitea.nswteam.net/joseph/gitea_CICD.git
  • Get username:
getUsername

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
install server

** 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.

**____ Joseph Le____ **