Hi All,
I am facing this issue when want to add partners in discovery to stat configure it for running a command
my command
~$ tutor local run discovery ./manage.py create_or_update_partner
I wanted to run this command
refresh_course_metadata
docker-compose -f /home/manoj/.local/share/tutor/env/local/docker-compose.yml -f /home/manoj/.local/share/tutor/env/local/docker-compose.prod.yml -f /home/manoj/.local/share/tutor/env/local/docker-compose.tmp.yml --project-name tutor_local run --rm discovery ./manage.py create_or_update_partner
Starting tutor_local_elasticsearch-permissions_1 … done
Starting tutor_local_redis-permissions_1 … done
Starting tutor_local_mongodb-permissions_1 … done
Starting tutor_local_minio_1 … done
Starting tutor_local_lms-permissions_1 … done
Starting tutor_local_smtp_1 … done
Starting tutor_local_mysql_1 … done
Starting tutor_local_redis_1 … done
Starting tutor_local_elasticsearch_1 … done
Starting tutor_local_mongodb_1 … done
Starting tutor_local_forum_1 … done
Starting tutor_local_lms_1 … done
usage: manage.py create_or_update_partner [-h] [–site-id SITE_ID] --site-domain SITE_DOMAIN --code
PARTNER_CODE --name PARTNER_NAME [–courses-api-url COURSES_API_URL]
[–lms-coursemode-api-url LMS_COURSEMODE_API_URL]
[–ecommerce-api-url ECOMMERCE_API_URL]
[–organizations-api-url ORGANIZATIONS_API_URL]
[–programs-api-url PROGRAMS_API_URL] [–lms-url LMS_URL]
[–studio-url STUDIO_URL] [–publisher-url PUBLISHER_URL]
[–marketing-site-api-url MARKETING_SITE_API_URL]
[–marketing-site-url-root MARKETING_SITE_URL_ROOT]
[–marketing-site-api-username MARKETING_SITE_API_USERNAME]
[–marketing-site-api-password MARKETING_SITE_API_PASSWORD]
[–version] [-v {0,1,2,3}] [–settings SETTINGS]
[–pythonpath PYTHONPATH] [–traceback] [–no-color] [–force-color]
[–skip-checks]
manage.py create_or_update_partner: error: the following arguments are required: --site-domain, --code, --name
Error: Command failed with status 2: docker-compose -f /home/manoj/.local/share/tutor/env/local/docker-compose.yml -f /home/manoj/.local/share/tutor/env/local/docker-compose.prod.yml -f /home/manoj/.local/share/tutor/env/local/docker-compose.tmp.yml --project-name tutor_local run --rm discovery ./manage.py create_or_update_partner