Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

School Management

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 db
Octocat-spinner-32 doc
Octocat-spinner-32 features
Octocat-spinner-32 lib
Octocat-spinner-32 public
Octocat-spinner-32 script
Octocat-spinner-32 spec
Octocat-spinner-32 test
Octocat-spinner-32 vendor
Octocat-spinner-32 README
Octocat-spinner-32 Rakefile
Octocat-spinner-32 details.txt
Octocat-spinner-32 instructions.txt
Octocat-spinner-32 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
Something went wrong with that request. Please try again.