Commit cc8b155b authored by lukas.burgey's avatar lukas.burgey
Browse files

Remove configuration of RabbitMQ singleton from setup.sh

parent 7a1e1769
Pipeline #81043 passed with stage
......@@ -7,7 +7,6 @@ python3 ./manage.py migrate --no-input
# create a superuser
cat << EOF | ./manage.py shell
from feudal.backend.models.users import User;
from feudal.backend.models.brokers import RabbitMQInstance;
username = '${1}'
password = '${2}'
......@@ -22,8 +21,4 @@ else:
admin.user_type = 'admin'
admin.save()
rs = RabbitMQInstance.objects.filter()
if not rs.exists():
RabbitMQInstance.objects.create()
EOF
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment