-
Notifications
You must be signed in to change notification settings - Fork 3
Remove default site creation commands #65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
OmarIthawi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AhmedAljazzar thanks! This fixes the issue, but at a cost. What are your thoughts?
tahoe.mk
Outdated
| make COMMAND='python manage.py lms create_devstack_site red devstack.tahoe' SERVICE='lms' tahoe.exec.single | ||
| docker exec -it tahoe.$(COMPOSE_PROJECT_NAME).amc python manage.py create_devstack_superuser | ||
| docker exec -it tahoe.$(COMPOSE_PROJECT_NAME).amc python manage.py create_devstack_site red | ||
| docker exec -it tahoe.$(COMPOSE_PROJECT_NAME).amc python manage.py create_devstack_site red devstack.tahoe |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @AhmedAljazzar! This won't work for localhost environment.
We have a couple of options:
1- use an environment variable like ${TAHOE_BASE_DOMAIN:-localhost} so it's customizeable by Sultan
2- use devstack.tahoe (I don't like this option and prefer 4 instead)
3- use localhost
4- remove the create_devstack_site altogether
937b48e to
86c5bd2
Compare
OmarIthawi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! One more change so the docs are up to date:
| 127.0.0.1 blue.localhost green.localhost # Create as many of those as you wish | ||
| 127.0.0.1 blue.devstack.tahoe green.devstack.tahoe # Create as many of those as you wish | ||
| Where's my Site? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahmed please modify that section to note that create_devstack_site is needed. Something like the following:
-Now you have a site of your own:
+To create a new site, please run the following commands: ... , ...
+
+Then you'll have a site of your own:86c5bd2 to
95b8d38
Compare
Overview
What sparked this PR?
When I tried to setup a new devstack and provision it, it failed on
create_devstack_sitebecause of the recent change oncreate_devstack_sitein amc#472 and edx-platform#848What problem does it solve?
Related PRs
Release notes
Other
- [ ] Tests?