updated readme

This commit is contained in:
ronny abraham 2025-04-22 16:58:17 +03:00
parent 7c5299d186
commit 82b8699533

View file

@ -1,26 +1,30 @@
## adding fabric # Fabric Setup
`git submodule add git@bitbucket.org:ronnyabraham/fabric.git customfabric` ## Adding fabric as a submodule
the second "fabric" puts the submogule in a directory called 'customfabric" Choose one of the following options based on your Git hosting platform:
now type in: ### 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 init
git submodule update git submodule update
## Setup Steps
workon a virtualenv that has PyQt5 1. Work on a virtualenv that has PyQt5
2. Load up bin/deploy_meta.py
load up bin/deploy_meta.py 3. Check django.numbers to make sure your port numbers aren't already being used:
* database
check django.numbers to make sure your port numbers aren't already being used * django
- database 4. After you create the dev file, go to usr/meta/projects and copy the layout.yml file from another project
- django 5. Now go to usr/meta/virtualenv, copy bootstrap.txt to development.txt
* Replace pycrypto with pycryptodome
after you create the dev file, go to usr/meta/projects and copy the layout.yml file from another project * Replace psycopg2 with psycopg2-binary
6. Add allowed_hosts = [127.0.0.1] to the django section in development.yml
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