- First, be sure that Python 3.4+ is installed on your computer.
- Run
sudo python3 -m pip install Fabric3
- Once it's done, be sure it's well installed by simply running
fab -V
- Clone the repo for automatic deployment
git clone https://github.com/CSester/automatic-deployment
- Go in the repo
cd automatic-deployment
- Edit the examples/config.json file and change the 'hosts', user' and 'password' fields to target your remote machine(s). (field 'hosts' can be either a string or a list of string)
- Run
fab -f src/main.py main:examples/config.json