Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 19 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,30 @@ Tahoe is all about subdomains, so please add the following entries to your ``/et

127.0.0.1 edx.devstack.lms # Needed for devstack nascence
127.0.0.1 red.localhost # Your default site
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?

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:

----------------
To create a new site, please run the following commands in your devstack host:

Now you have a site of your own:
.. code::

$ make lms-shell
$ python manage.py lms create_devstack_site <org> <hostname>
$ make amc-shell
$ python manage.py create_devstack_site <org> <hostname>



**Note**
``hostname`` should be ``localhost`` if your devstack is hosted locally, or any value from ``EDX_HOST_NAMES`` if you are using `Sultan <https://github.com/appsembler/sultan/blob/master/configs/.configs#L81>`_.


Then you'll have a site of your own:

- **LMS:** http://red.localhost:18000/
- **Studio:** http://localhost:18010/
- **AMC:** http://localhost:13000/
- **LMS:** http://<org>.<hostname>:18000/
- **Studio:** http://<hostname>:18010/
- **AMC:** http://<hostname>:13000/

Credentials are:

Expand Down
2 changes: 0 additions & 2 deletions tahoe.mk
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ tahoe.restart: ## Restarts both of LMS and Studio python processes while keepin
amc.provision: ## Initializes the AMC
docker exec -it tahoe.$(COMPOSE_PROJECT_NAME).amc python manage.py migrate
make COMMAND='python manage.py lms create_dot_application --grant-type password --redirect-uris=http://localhost:13000 --skip-authorization --client-id=6f2b93d5c02560c3f93f --client-secret=2c6c9ac52dd19d7255dd569fb7eedbe0ebdab2db AMC edx' SERVICE='lms' tahoe.exec.single
make COMMAND='python manage.py lms create_devstack_site red' 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-frontend npm install

amc.activation_links: ## List activation links from the AMC log
Expand Down