-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is related to overhangio/tutor#945
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -87,17 +87,17 @@ Operations | |
Creating a user | ||
~~~~~~~~~~~~~~~ | ||
|
||
The ecommerce user interface will be available at http://ecommerce.local.overhang.io for a local instance, and at ``ECOMMERCE_HOST`` (by default: ``http(s)://ecommerce.<yours lms host>``) in production. In order to run commands from the UI, a user with admin rights must be created. There are two ways to proceed. To create a brand new user in E-Commerce which will not exist in the LMS, run:: | ||
The ecommerce user interface will be available at http://ecommerce.local.edly.io for a local instance, and at ``ECOMMERCE_HOST`` (by default: ``http(s)://ecommerce.<yours lms host>``) in production. In order to run commands from the UI, a user with admin rights must be created. There are two ways to proceed. To create a brand new user in E-Commerce which will not exist in the LMS, run:: | ||
|
||
tutor local run ecommerce ./manage.py createsuperuser | ||
|
||
Then login with this new user at: http://ecommerce.local.overhang.io/admin/ | ||
Then login with this new user at: http://ecommerce.local.edly.io/admin/ | ||
|
||
To re-use an existing LMS user, first go to http://ecommerce.local.overhang.io/login. You should be redirected to the LMS login page, then to the dashboard. Then this user must be made a staff/superuser in E-Commerce:: | ||
To re-use an existing LMS user, first go to http://ecommerce.local.edly.io/login. You should be redirected to the LMS login page, then to the dashboard. Then this user must be made a staff/superuser in E-Commerce:: | ||
|
||
tutor local run ecommerce ./manage.py shell -c "from django.contrib.auth import get_user_model; get_user_model().objects.filter(email='[email protected]').update(is_staff=True, is_superuser=True)" | ||
|
||
Make sure to replace ``[email protected]`` by the actual user email address. You should then be able to view the Oscar dashboard at http://ecommerce.local.overhang.io. | ||
Make sure to replace ``[email protected]`` by the actual user email address. You should then be able to view the Oscar dashboard at http://ecommerce.local.edly.io. | ||
|
||
|
||
Custom payment processors | ||
|
@@ -122,7 +122,7 @@ Then, build the image, pointing to your fork if necessary:: | |
Development | ||
~~~~~~~~~~~ | ||
|
||
When running Tutor in development mode, the ecommerce service is accessible at http://ecommerce.local.overhang.io:8130. | ||
When running Tutor in development mode, the ecommerce service is accessible at http://ecommerce.local.edly.io:8130. | ||
|
||
To mount a local ecommerce repository in the ecommerce container, add an auto-mounted repository with:: | ||
|
||
|