Giter VIP home page Giter VIP logo

mooculus's Introduction

Live version

A live demo is available at mooculus.osu.edu. You may also be interested in enrolling in the associated Coursera course.

The materials for our calculus two course are available at https://github.com/kisonecat/sequences-and-series.

Installation For OSX and Linux*

Preliminaries

First you must install gcc. You can get it for free here.

Next, install MySQL server; I recommend choosing the dmg.

RVM And Bundler

Now you need to install rvm. This can be done by copy and pasting the following command into your terminal:

\curl -L https://get.rvm.io | bash -s stable --ruby

Hopefully, the installation was successful. If it wasn't, I recommend the "google the error message" strategy. You must now put the line

source ~/.rvm/scripts/rvm

at the end of the (hidden) file ~/.bashrc. Open a new terminal and check that you are using a new version of ruby by running

ruby --version

You should see 1.9.3 in the output somewhere. If you see 1.8.7 or similar, something went wrong and I will again punt to the troubleshooting strategy outlined above.

Now we will install bundler. This can be done by running

gem install bundler

Geting Rails Up And Running

Go into the mooculus repo and run

bundle install

After doing this, we need some preliminary steps:

cp config/database.yml.template config/database.yml

bundle exec rake db:migrate

bundle exec rake exercise:all

Then, check that everything works with

bundle exec rails server

and navigate to localhost:3000 in your browser!

Upkeep

If you add more exercises, for them to be loaded, you must run

bundle exec rake exercise:all

* Linux users should be able to follow these instructions after insuring that ruby, ruby-dev, libxml2-dev, libxslt-dev and libmysqlclient-dev are installed

mooculus's People

Contributors

kisonecat avatar stevengubkin avatar bartsnapp avatar lkowalick avatar mbutsko avatar mikegee avatar mrcoreymath avatar cbolognese avatar mateor avatar clark-archer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.