One of most easy use auto deploy system
- Clone repo
- Edit config file in cloned repo
- Open terminal in cloned repo
- Type
source /venv/bin/activate
- Type
python main.py
- Go to your git repository > settings > webhooks
- Create new webhook (push only) with address <your_public_ip:your_port>/new-commit
- Save
After first start eaCICD will create an eaCICD directory in repository folders typed in configs
eaCICD directory contains deploy.sh and deploy.bat files for Linux and Windows systems.
You can change this files as you wish.
If you need to reset files to default just delete eaCICD folder and restart eaCICD
{
"host": "192.168.0.5",
"port": 8000,
"OSType": "W",
"repositories": [
{
"name": "testRepo",
"location": "C:\\Users\\User\\Documents\\Projects\\testRepo"
},
{
"name": "testRepo1",
"location": "C:\\Users\\User\\Documents\\Projects\\testRepo1"
}
]
}
host: Your local ip address
port: port for eaCICD server
OSType: Type of operation system (L - linux, W - windows)
repositories: List of your repositories
name: name of your repository (like in git)
location: location of cloned repository (full path required)