From 607252977e60dff150ced5b984badb81ce34dd8b Mon Sep 17 00:00:00 2001 From: ricki-z Date: Tue, 2 Jun 2020 14:08:51 +0200 Subject: [PATCH] add command to change site name and hostname to README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 86dc37b..e6c5d64 100644 --- a/README.md +++ b/README.md @@ -203,6 +203,12 @@ docker-compose exec get_together python3 manage.py createsuperuser You can then connect to the container by going to localhost:8000 +## Changing name and hostname + +If you want to use this software with an own hostname you need to change the site settings: + +`./env/bin/python manage.py shell -c "from django.contrib.sites.models import Site; Site.objects.filter(domain='example.com').update(name='My Site', domain='mysite.tld')"` + ## Test Federation You can import live event data into your "Searchable" table with this command: