Thursday, March 28, 2013

Setting up the open source Mechanical MOOC, part one

Step 2 for dumb demo, set up a site where I can post content and syllabi.
For this, I am following the popular Learning Creative Learning course and using Mechanical MOOC, and open-source version of the massive open online course software used by Udacity and Coursera and EdX and others. Their github page is well-documented and made this process a breeze -- maybe 30 minutes because I had to install basic things (this is starting from a clean xubuntu installation, well, running on liveusb actually).

anndd it's live! for the next few hours/days, at least.

Sentences highlighted are the non-liveblog, what you actually want to do steps.
  • Spin up an xubuntu liveusb... I really don't want to try to do webdev on a windows machine
step 1: git clone
  • Install git
  • It's a fairly old xubuntu liveusb (12.10 from lsb_release -a) so some repository 404s initially
sudo apt-get install git

Failed to fetch  404  Not Found [IP: 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

sudo apt-get update --fix-missing
sudo apt-get install git
okay works now.
git clone

step 2: Spin up a new instance of the heroku cedar stack
  • Needs CLI
step 3: git push to heroku instance
  • git push
    Permission denied (publickey).
    fatal: The remote end hung up unexpectedly
  • Right, I need to do the remote key thing
    cd ~/.sshssh-keygen -t rsa -C ""
  • Copy paste into and hit "Add new key"
  • cd ~/mechanicalmooc/
    git push
    fatal: 'master' does not appear to be a git repository
  • lol not a valid command. okay time to refresh flaky memory
    enh that is too manpage like for me to understand, try this instead
  • Well this works, hope it doesn't mess anything up.
    git remote add heroku
    git push heroku master
  • visit site
Hrm, okay, now to fix things up

No comments:

Post a Comment