Coursemology is an open source gamified learning platform that enables educators to increase student engagement and make learning fun.
- Ruby (>= 2.3.1)
- Ruby on Rails
- PostgreSQL
- ImageMagick or GraphicsMagick (For MiniMagick)
- Node.js
- Yarn
Coursemology uses Ruby on Rails. In addition, some front-end components use React.js. This guide written by the awesome people at GoRails should help you to get started on Ruby on Rails.
-
We use submodules in the git repo; use this command to update submodules:
git submodule update --init --recursive
-
Download bundler to install dependencies
$ gem install bundler
-
Install ruby dependencies
$ bundle install --without ci:production
-
Install javascript dependencies
$ cd client && yarn; cd -
-
Create and seed the database
$ bundle exec rake db:setup
-
Start webpack and the development app server
$ foreman start
Or if you are not using foreman:
# Start the webpack dev server: $ cd client && yarn build:development # Run this command to compile the assets before running the test suite. $ cd client && yarn build:test
-
You're all set! Simply login with the default username and password:
Email:
test@example.org
Password:
Coursemology!
To make sure that multi tenancy works correctly for you, change the default host in
config/application.rb
before deploying:
config.x.default_host = 'your_domain.com'
Create an issue on the Github issue tracker or come talk to us over at our Slack channels.
We welcome contributions to Coursemology! Check out the issue tracker and pick something you'll like to work on. Please read our Contributor's Guide for guidance on our conventions.
If you are a student from NUS Computing looking for an FYP project, do check with Prof Ben Leong.
Copyright (c) 2015-2017 Coursemology.org. This software is licensed under the MIT License.
You're more than welcome to use Coursemology for your own school or organization. If you need more help, join our Slack channel to reach our core developers.
We are actively running Coursemology in beta and can provide free use of our infrastructure on a case by case basis. Please contact Prof Ben Leong if you would like to explore this option.
The Coursemology.org Project was made possible by a number of teaching development grants from the National University of Singapore over the years.