Skip to content

Readmore/wavemaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

== Wavemaker: An Education Mashup Tool

Wavemaker is an online education repository that uses Git as it's back-end storage system. 

== Getting Started

1. You will need to install the following gems:
  sudo gem install ruby-git
  sudo gem install uuid
  
2. Setup your database with 

	$ rake db:schema:load      

3. Now start up the console 
	
	$ ruby script/console
	
  Create an admin user with the following commands
	$ u = User.new
	$ u.login = "your name"
	$ u.email = "your email"
	$ u.password = u.password_confirmation = "your password"
	$ u.role = "admin"
	$ u.save
	
  If your get back "true" your user was created and you're read to start. type exit.

4. Now start the server ( ruby script/server ) and point your web browser to localhost:3000
  As an admin user you can create new user accounts at /users/new or you can start creating 
  education info right away.
  

== Application Layout

=== Git as a DB
The class GitRecord (found at app/model/git_record.rb) is an interface for using Git as a 
key-value store within Rails. All data objects inherit from GitRecord instead of ActiveRecord
in this application. 


=== User Data

All user created data is stored in the db directory under the current environment and their username.
For example, the development data for the user brandon would be stored here:

   $ db/development/brandon

Every user has their own git repository so their data can, at any time, be downloaded from the server
and operate as an independent git repo.

About

TCC Education Publishing System

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published