User:
ho...@example.com Password: edx
User: au...@example.com Password: edx
User: veri...@example.com Password: edx
User: st...@example.com Password:edx (is_staff user)
No is_superuser staff is created.
To create one :
You can either create your user from the web platform, or through the console.
Once your user is created :
cd /edx/app/edxapp/edx-platform
sudo -u www-data /edx/bin/python.edxapp ./manage.py lms --settings aws shell
>>> from django.contrib.auth.models import User
>>> user = User.objects.get(username="userName")
>>> user.is_superuser = True
>>> user.is_staff = True
>>> user.is_active = True
>>> user.save()
>>> exit()
You can then access localhost/admin
In the Auth A> User, you can find the user management board where you can easily validate users, and create is_staff users and is_superuser users.
It may not be clear but from a platform point of view :
is_superuser has access to the /admin pannel
is_staff is a "super staff", a staff of the website organisation, he has also access to the pannel, but has no right in it, but a superuser can add individual rights one by one.
Admin and Staff are the titles in a course :
The admin of a course can edit the course.
The staff of the course can edit grades and invite students
And if you are just begining, here is a useful set of commands :
### Update static assets
sudo -u edxapp bash
source /edx/app/edxapp/edxapp_env
cd /edx/app/edxapp/edx-platform
paver update_assets cms --settings=aws # Recompile CMS assets
paver update_assets lms --settings=aws # Recompile LMS assets
exit
### Reboot the server
cd /edx/app/edxapp/edx-platform
sudo /edx/bin/supervisorctl -c /edx/etc/supervisord.conf restart edxapp:
Good luck !
Marceau C.