Skip to content

davidncuba/Django-Tenant-Single-URL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Tenants Single URL

tenant.localhost:8000

localhost:8000

How To Use

To clone and run this application:

# Clone this repository
$ git clone https://github.com/davidncuba/Django-Tenant-Single-URL.git

# Go into the repository
$ cd Django-Tenant-Single-URL

# Create a Virtualenv
$ python3 -m venv env  
$ source env/bin/activate 
  
# Install dependencies
$ pip install -r requirements.txt

# Configure Postgresql 
$ setup/setting.py

# Make migrations django
$ python manage.py makemigrations

#Migrate to Database
$ python manage.py migrate

#create new tenant schema(you can create many tenant)
$ python manage.py client


# Create Tenant Superuser
$ python manage.py create_tenant_superuser

Libraries

Django
Django Rest Framework
Django-Tenants

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages