fabric commands
| bin | ||
| modules | ||
| share | ||
| .gitignore | ||
| .gitmodules | ||
| __init__.py | ||
| api.py | ||
| fabfile.py | ||
| readme.md | ||
| requirements.txt | ||
Fabric Setup
Adding fabric as a submodule
Choose one of the following options based on your Git hosting platform:
Bitbucket
git submodule add git@bitbucket.org/fabric.git customfabric
Forgejo
git submodule add https://forgejo.ronnyabraham.com/ronnygit/fabric.git customfabric
The second "fabric" puts the submodule in a directory called "customfabric"
Now initialize and update the submodule: git submodule init git submodule update
Setup Steps
- Work on a virtualenv that has PyQt5
- Load up bin/deploy_meta.py
- Check django.numbers to make sure your port numbers aren't already being used:
- database
- django
- After you create the dev file, go to usr/meta/projects and copy the layout.yml file from another project
- Now go to usr/meta/virtualenv, copy bootstrap.txt to development.txt
- Replace pycrypto with pycryptodome
- Replace psycopg2 with psycopg2-binary
- Add allowed_hosts = [127.0.0.1] to the django section in development.yml