help me registering account and activating..

138 views
Skip to first unread message

JeongmanAn

unread,
Jul 8, 2014, 1:16:01 AM7/8/14
to edx-...@googlegroups.com
I signed up an account to test the edx.
and edx requires activation to use the account. So it says to check the activation confirm mail but I didn't get any mail.

how to register new account? 
and
 anyone knows how to log in 'localhost/admin'?? cause I don't know account ID and password for admin.


---------

The following errors occurred while logging you in:

    This account has not been activated. We have sent another activation message. Please check your e-mail for the activation instructions.



Marceau C.

unread,
Jul 8, 2014, 4:00:05 AM7/8/14
to edx-...@googlegroups.com
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.

JeongmanAn

unread,
Jul 8, 2014, 6:07:43 AM7/8/14
to edx-...@googlegroups.com
Thank you so much.
Problem solved!


Jeong Man An
Reply all
Reply to author
Forward
0 new messages