fabric commands
Find a file
2025-04-22 16:58:17 +03:00
bin updated deploy_meta with new default nginx port 80 for development branch 2023-07-28 14:20:01 +03:00
modules updates 2025-04-22 16:52:07 +03:00
share updated readmes with debug_toolbar.md 2024-08-25 20:44:48 +03:00
.gitignore modified gitignore file 2016-09-06 16:36:23 +03:00
.gitmodules removed docs submodule 2024-01-10 05:00:57 +02:00
__init__.py new file: __init__.py 2016-09-06 14:41:15 +03:00
api.py fixed 'api' so that it works with relative import 2023-07-07 16:27:00 +03:00
fabfile.py fixed fabfile so it imports relatively 2023-07-07 16:21:47 +03:00
readme.md updated readme 2025-04-22 16:58:17 +03:00
requirements.txt requirements file for installation 2023-07-07 19:30:49 +03:00

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

  1. Work on a virtualenv that has PyQt5
  2. Load up bin/deploy_meta.py
  3. Check django.numbers to make sure your port numbers aren't already being used:
    • database
    • django
  4. After you create the dev file, go to usr/meta/projects and copy the layout.yml file from another project
  5. Now go to usr/meta/virtualenv, copy bootstrap.txt to development.txt
    • Replace pycrypto with pycryptodome
    • Replace psycopg2 with psycopg2-binary
  6. Add allowed_hosts = [127.0.0.1] to the django section in development.yml