update work on development.yml, add more info to readme
This commit is contained in:
parent
f27b88a29e
commit
3a25d617ae
2 changed files with 25 additions and 1 deletions
21
readme.md
21
readme.md
|
|
@ -0,0 +1,21 @@
|
|||
## 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
|
||||
|
|
@ -6,7 +6,10 @@ database:
|
|||
users:
|
||||
admin: {name: DATABASE_ADMIN_NAME, pass: DATABASE_ADMIN_PASS}
|
||||
default: {name: DATABASE_USER_NAME, pass: DATABASE_USER_PASS}
|
||||
django: {host: DJANGO_IP, port: DJANGO_PORT}
|
||||
django:
|
||||
host: DJANGO_IP
|
||||
port: DJANGO_PORT
|
||||
allowed_hosts: [127.0.0.1, 'PROJECT_NAME.BRANCH_EXT',]
|
||||
docker:
|
||||
database:
|
||||
env: {name: POSTGRES_DB, pass: POSTGRES_PASSWORD, user: POSTGRES_USER}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue