You need to sign in or sign up before continuing.
Commit fd27f5c1 by Clinton Blackburn Committed by Clinton Blackburn

Provisioning the site for the Credentials Service

PLAT-1715
parent 2cb84733
......@@ -17,7 +17,8 @@ docker exec -t edx.devstack.${name} bash -c 'make migrate' -- "$name"
echo -e "${GREEN}Creating super-user for ${name}...${NC}"
docker exec -t edx.devstack.${name} bash -c 'echo "from django.contrib.auth import get_user_model; User = get_user_model(); User.objects.create_superuser(\"edx\", \"edx@example.com\", \"edx\") if not User.objects.filter(username=\"edx\").exists() else None" | python /edx/app/$1/$1/manage.py shell' -- "$name"
# TODO Create credentials tenant (ECOM-6566)
echo -e "${GREEN}Configuring site for ${name}...${NC}"
docker exec -t edx.devstack.${name} bash -c './manage.py create_or_update_site --site-id=1 --site-domain=localhost:18150 --site-name="Open edX" --platform-name="Open edX" --company-name="Open edX" --lms-url-root=http://localhost:18000 --catalog-api-url=http://edx.devstack.discovery:18381/api/v1/ --tos-url=http://localhost:18000/tos --privacy-policy-url=http://localhost:18000/privacy --homepage-url=http://localhost:18000 --certificate-help-url=http://localhost:18000/faq --theme-name=openedx'
./provision-ida-user.sh ${name} ${port}
......
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