-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need a mechanism for deploying edX courses #30
Comments
Importing course feature already there by edx:
For video streaming, We should include a new role "media server" to host static files and videos under nginx, this should be faster than using django to deliver that. I already have a script to download videos from youtube and update the MongoDB to point to the new location, I'll clean that and add a pull request soon. |
edX production setup is so dependent on some amazon services such as S3, and yes aws settings has some of this configurations.
edX stores course data on mongodb, so the import command imports the course from the local disk to mongo. or in the below case from github to local disk to mongodb.
Yupe of course, you can use edX-Insider course (developed by master Piotr) it uses much more features than the demo course.
You can fork it and add whatever you want to test, and yes I agree some of the advance problem types are somehow hard to create for the average TA, but it shouldn't be a problem to anybody with a some programing skills.
Thank you for your questions :) |
I modified the EDX installation (Lubuntu 13) so it creates the SD card With this Method you can create the SD Card and also an Image of it, as we We can use this to do tests while we continue working on the Ansible-Docker I also will try to have the Ubuntu 14 Installation version totally complete On Tue, Dec 23, 2014 at 1:17 PM, Ali [email protected] wrote:
|
Thanks to both of you for the work you've done on this! @iLearner, when the image finishes uploading, please post the link here. Also, does it include the ansible playbooks for edX, or just the services they install? |
Here is the link: It includes the Root folder tree as it is when the EDX installation On Wed, Dec 24, 2014 at 1:02 PM, Brad Smith [email protected]
|
I am downloading this (internet is not very good where I am right now), but won't be able to test it until I can go out and get a new SD card (brought one with me, but it turns out it's bad). Once I have it downloaded, I can at least put the file up in a temporary location that can be accessed with wget, and I'll talk to the Tunapanda folks about hosting it at tunapanda.org. |
I am back home now and have a new SD card. I'm extracting the tarball, but have an issue/question: I was expecting a filesystem image I would then |
It is not an image because in that case it will be at least 5 GB big which is the size of the uncompressed root folder tree that you get when completing the EDX installation on Ubuntu 13. Instead It contains only the compressed Root folder tree as a "tar.gz" file. So to make it work use this file instead of the "rootfs-part2.tar.gz" file on the "sd" script to create the SD card (You can take it from https://github.com/iLearner/x2go/tree/Lubuntu-13) , or on the script we modified later from there to get directly the SD Card Image.. The late would be at least 10 GB as we did the script and would be to big to manipulate. |
I tried the following:
After unpacking the archive,
Nothing was mounted there before, and the SD card was empty, so I'm not sure what's happening. It's getting late over here, so I'll pick this up again tomorrow. Just posting now in case you see an obvious fix. |
Sorry for that, I forgot that for this it is not needed, because it is # Copy EDX Required Installation Files to /home/linaro/EDX on SDCard mkdir /tmp/sdd2/home/linaro/EDXcp README.md /tmp/sdd2/home/linaro/EDX/README.mdcp execute /tmp/sdd2/home/linaro/EDX/executecp update /tmp/sdd2/home/linaro/EDX/updatecp edxPRE /tmp/sdd2/home/linaro/EDX/edxPREcp fixes /tmp/sdd2/home/linaro/EDX/fixescp edx /tmp/sdd2/home/linaro/EDX/edxcp text_replacements.xml/tmp/sdd2/home/linaro/EDX/text_replacements.xml cp mongo_tasks_main.yml/tmp/sdd2/home/linaro/EDX/mongo_tasks_main.yml cp mongo_defaults_main.yml/tmp/sdd2/home/linaro/EDX/mongo_defaults_main.yml but the SD is already created because you only missed this section Unmount SD Card Partitionssudo umount /tmp/sdd1 Make SD Card Safe to remove (Eject)sudo eject ${card} On Sat, Dec 27, 2014 at 10:25 PM, Brad Smith [email protected]
|
I sent too fast the last email. Just to clarify, for future use of the SD Any way, the SD card should be create completely by now and you can try to On Sun, Dec 28, 2014 at 12:17 AM, Arturo Samanez [email protected] wrote:
|
During a recent meeting, @pmitros pointed us to some freely available edX courses provided by MIT: And here are a couple of edX courses on more basic subjects, which they made by converting Moodle courses from moodleshare using their moodle2edx tool. These courses might not be as well-designed as the edX courses, but if the script works reliably, they might provide an easy way to include a broader range of topics with the initial deployment by converting other courses from moodleshare.
@devalih: Earlier you said that it would be pretty easy to put together a script for this. Do you think you could put something together for testing some time soon and use it to import these courses? One request if you do: please have your script download the videos to |
And here's an electronics course that may be a better fit than either of the first two MIT courses linked above. My understanding from this would be a good one to prioritize: http://groups.csail.mit.edu/mac/users/gjs/6.002x/ |
Ping @devalih re the video migration script mentioned in #30 (comment) |
We could do this manually for the initial test deployment if needed, but ideally we should have:
The text was updated successfully, but these errors were encountered: