School Management
JavaScript Ruby ColdFusion PHP ASP Perl Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
doc
features
lib
public
script
spec
test
vendor/plugins
README
Rakefile
details.txt
instructions.txt
manual.txt

README

Happyschool requires Ruby,Rails,MySQL and some gems installed.

Step 1:Install Ruby
sudo apt-get install ruby

Step 2:Install Rails 2.3.11
sudo gem install rails -v=2.3.11

Step 3:Setting up MySQL server
sudo apt-get install mysql-server mysql-client libmysql-ruby

Step 4:Edit database 
Open the file database.yml in the config folder of the happyschool source.Change the following details.
database:happyschool - The name of the database you want to use for happyschool.
username: root - #Mysql username for happyschool, 
password: mypass - #The password for the MySQL user root

Step 5:Install the prawn gem,
sudo gem install prawn -v=0.6.3

Step 6:Install the rest of the gems(This step can be ignored)
Open a terminal and navigate to the happyschool directory,install the rest of the gems.
sudo rake gems:install

Step 7:Setup happyschool databases
rake db:create
rake db:migrate

Step 8:Change permissions for scripts
chmod +x script/*

Step 9:Run the inbuilt server
Run ruby script/server from happyschool directory.

Once you are server starts,open your favourite browser and type http://localhost:3000
Username/Password
admin:admin123