tuiuiu
v1.0.0
Published
tuiuiu.io =========
Downloads
8
Readme
tuiuiu.io
Saas application based on Wagtail.oi using django_tenants.
Up & Running
etc/hosts
127.0.0.1 tuiuiu.io
127.0.0.1 staging.tuiuiu.io
127.0.0.1 prod.tuiuiu.io
127.0.0.1 qa.tuiuiu.io
127.0.0.1 tenant.tuiuiu.io
create postgres database
$ docker run -ti -e POSTGRES_PASSWORD=tuiuiutenant -e POSTGRES_USER=tuiuiutenant -e POSTGRES_DB=tuiuiutenant -p 5432:5432 -d postgres
git clone
$ git clone [email protected]:caputomarcos/tuiuiu.io.git
$ cd tuiuiu.io
$ virtualenv env --python=python3 && source env/bin/activate
$ make develop
$ cd app
$ python manage.py migrate_schemas
$ python manage.py runserver
or
$ mkdir tuiuiu.io && cd tuiuiu.io
$ virtualenv env --python=python3 && source env/bin/activate
$ pip install git+https://github.com/caputomarcos/tuiuiu.io.git
$ tuiuiu start app
$ cd app
$ python manage.py migrate_schemas
$ python manage.py runserver
settings
PUBLIC_SCHEMA_NAME = 'public'
PUBLIC_DOMAIN_NAME = 'tuiuiu'
PUBLIC_DOMAIN_DESCRIPTION = 'Saas application based on Wagtail.oi using django_tenants.'
PUBLIC_DOMAIN_URL = 'tuiuiu.io'
PUBLIC_DOMAIN_SUPERUSER = 'admin'
PUBLIC_DOMAIN_SUPERUSER_PASS = 'admin'
PUBLIC_DOMAIN_SUPERUSER_MAIL = '[email protected]'
credentials
user: admin
pass: admin
Credits
Thank you for the wonderful work, Great Job!
- Tom Turner under the name
django-tenants
_. - Bernardo Pires under the name
django-tenant-schemas
_. - Vlada Macek under the name of
django-schemata
_. - Tom Dyson under the name
wagtail
_