mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-06 07:30:40 +00:00
Rename "create-staff-user" command to "staff-user"
This commit is contained in:
parent
3433a7c046
commit
f38f153c56
@ -89,7 +89,7 @@ import-demo-course: ## Import the demo course from edX
|
||||
git clone https://github.com/edx/edx-demo-course --branch open-release/hawthorn.2 --depth 1 ../edx-demo-course \
|
||||
&& python ./manage.py cms import ../data ../edx-demo-course")
|
||||
|
||||
create-staff-user: ## Create a user with admin rights: make create-staff-user USERNAME=... EMAIL=...
|
||||
staff-user: ## Create a user with admin rights: make staff-user USERNAME=... EMAIL=...
|
||||
$(call podexec,lms,/bin/bash -c "\
|
||||
./manage.py lms manage_user --superuser --staff ${USERNAME} ${EMAIL} \
|
||||
&& ./manage.py lms changepassword ${USERNAME}")
|
||||
|
@ -165,7 +165,7 @@ import-demo-course: ## Import the demo course from edX
|
||||
git clone https://github.com/edx/edx-demo-course --branch open-release/hawthorn.2 --depth 1 ../edx-demo-course \
|
||||
&& python ./manage.py cms import ../data ../edx-demo-course"
|
||||
|
||||
create-staff-user: ## Create a user with admin rights: make create-staff-user USERNAME=... EMAIL=...
|
||||
staff-user: ## Create a user with admin rights: make staff-user USERNAME=... EMAIL=...
|
||||
$(DOCKER_COMPOSE_RUN_OPENEDX) lms /bin/bash -c "./manage.py lms manage_user --superuser --staff ${USERNAME} ${EMAIL} && ./manage.py lms changepassword ${USERNAME}"
|
||||
|
||||
portainer: ## Run Portainer (https://portainer.io), a UI for container supervision
|
||||
|
@ -76,7 +76,7 @@ Creating a new user with staff and admin rights
|
||||
|
||||
You will most certainly need to create a user to administer the platform. Just run::
|
||||
|
||||
make create-staff-user USERNAME=yourusername EMAIL=user@email.com
|
||||
make staff-user USERNAME=yourusername EMAIL=user@email.com
|
||||
|
||||
You will asked to set the user password interactively.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user