create superuser error in EDX production in local Ubuntu server 12.04

436 views
Skip to first unread message

규동김

unread,
Nov 15, 2014, 9:41:28 AM11/15/14
to edx-...@googlegroups.com
Wish good day & night for all EdX folks!

lately I come to install edx in my local server sucessfully.
after above install, I tried to create superuser according to manual in https://github.com/edx/configuration/wiki/edX-Managing-the-Production-Stack.
I met unfamiliar error for the first time like belows

bossnm@edxsony:/$ cd /edx/app/edxapp/edx-platform
bossnm@edxsony:/edx/app/edxapp/edx-platform$ sudo su edxapp -s /bin/bash
edxapp@edxsony:~/edx-platform$ cd ~
edxapp@edxsony:~$ source edxapp_env
edxapp@edxsony:~$ python manage.py lms createsuperuser --settings aws
python: can't open file 'manage.py': [Errno 2] No such file or directory
edxapp@edxsony:~$ 


for the past time, I had no difficulty in creating superuser
but nowadays, the command for creating superuser seems to change totally,  in the past , creating superuser seemed to be done thru django shell.

Please share your skill to avoid above error.
Thank you so much!



Ali Hasan

unread,
Nov 16, 2014, 3:17:51 AM11/16/14
to edx-...@googlegroups.com
Just cd to edx-platform

규동김

unread,
Nov 16, 2014, 6:44:10 AM11/16/14
to edx-...@googlegroups.com

Thank you so much!
I pass over above error easily with your kind tip!


bossnm@edxsony:/$ cd /edx/app/edxapp/edx-platform
bossnm@edxsony:/edx/app/edxapp/edx-platform$ sudo su edxapp -s /bin/bash
edxapp@edxsony:~/edx-platform$ cd ~
edxapp@edxsony:~$ source edxapp_env
edxapp@edxsony:~$ cd /edx/app/edxapp/edx-platform
edxapp@edxsony:/edx/app/edxapp/edx-platform$ python manage.py lms createsuperuser --settings aws

There seems to be some misleading instruction in manual https://github.com/edx/configuration/wiki/edX-Managing-the-Production-Stack.







2014년 11월 16일 일요일 오후 5시 17분 51초 UTC+9, Ali Hasan 님의 말:

David Baumgold

unread,
Nov 17, 2014, 10:09:51 AM11/17/14
to edx-...@googlegroups.com
If the instructions are misleading, perhaps you can edit them to make them clearer! (It is a wiki, after all.)

David Baumgold
Reply all
Reply to author
Forward
0 new messages