fabric commands
[localhost] out: /usr/local/bin/virtualenvwrapper.sh: line 230: : command not found [localhost] out: virtualenvwrapper.sh: There was a problem running the initialization hooks. [localhost] out: [localhost] out: If Python could not import the module virtualenvwrapper.hook_loader, [localhost] out: check that virtualenvwrapper has been installed for [localhost] out: VIRTUALENVWRAPPER_PYTHON= and that PATH is [localhost] out: set properly. [localhost] out: Error getting IP address: ssh command error: [localhost] out: command : ip addr show [localhost] out: err : exit status 255 [localhost] out: output : [localhost] out: |
||
|---|---|---|
| bin | ||
| modules | ||
| share | ||
| .gitignore | ||
| __init__.py | ||
| api.py | ||
| fabfile.py | ||
| readme.md | ||
adding fabric
git add submodule git@bitbucket.org:ronnyabraham/fabric.git fabric
the second "fabric" puts the submogule in a directory called 'fabric"
workon 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