In the local machine:
-
Setup virtualenv and install Fabric
python3 -m venv venv . venv/bin/activate # . venv/Scripts/activate on Windows pip install -r requirements.txt -
Check the project path, server hostname, user and port in
fab.sh -
Verify that Fabric is able to connect to the server by running
uname./fab.sh uname -
Deploy the project
./fab.sh deploy