-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild-demo-instance.sh
executable file
·8 lines (8 loc) · 1.33 KB
/
build-demo-instance.sh
1
2
3
4
5
6
7
8
#!/bin/sh
/home/django/djangoenv/bin/python /home/django/bakeup/manage.py delete_tenant --schema=demo --noinput --settings=config.settings.production
/home/django/djangoenv/bin/python /home/django/bakeup/manage.py create_tenant --noinput --schema_name=demo --name="Bakeup Demo" --is_demo=True --domain-domain=demo.bakeup.org --domain-is_primary=True --settings=config.settings.production
/home/django/djangoenv/bin/python /home/django/bakeup/manage.py tenant_command loaddata --schema=demo /home/django/bakeup/bakeup/shop/fixtures/demo_point_of_sale.json --settings=config.settings.production
/home/django/djangoenv/bin/python /home/django/bakeup/manage.py tenant_command loaddata --schema=demo /home/django/bakeup/bakeup/users/fixtures/demo_users.json --settings=config.settings.production
/home/django/djangoenv/bin/python /home/django/bakeup/manage.py tenant_command loaddata --schema=demo /home/django/bakeup/bakeup/workshop/fixtures/demo_categories.json --settings=config.settings.production
/home/django/djangoenv/bin/python /home/django/bakeup/manage.py tenant_command loaddata --schema=demo /home/django/bakeup/bakeup/workshop/fixtures/demo_products.json --settings=config.settings.production
/home/django/djangoenv/bin/python /home/django/bakeup/manage.py create_initial_demo_wagtail_pages --schema=demo --noinput --settings=config.settings.production