Course one Course two Course three Wiki
The project is based on the PENGZhaoqing with basic function
- Login in module with multi-role, such as student, teacher and administrator
- Choose and Drop courses for students
- Add and remove courses for teachers
- Add and modify students' scores for teachers
- Access Control : only view themselves information for students and teachers
- add verification code on Login in module
- deal conflict of the course
- show course information
Libraries and Databases:
- use Bootstrap as website libraries
- use Rails_admin Gem as back administration module
- use Postgresql as database
need to install environments, such as Bundler,Gem,Ruby and Rails and so on。
postgresql,need run psql -h localhost
on Terminal to check installation progress。
Run these commands on (MacOS或Linux)Terminal
$ git clone https://github.com/PENGZhaoqing/CourseSelect
$ cd CourseSelect
$ bundle install
$ rake db:migrate
$ rake db:seed
$ rails s
input website : localhost:3000
1.student login: Name: [email protected]
password: password
2.teacher login:
Name : [email protected]
password: password
3.administrator login:
Name: [email protected]
password: password
run the command : rake test
PENG-MacBook-Pro:IMS_sample PENG-mac$ rake test
Run options: --seed 15794
# Running:
.........
Finished in 1.202169s, 7.4865 runs/s, 16.6366 assertions/s.
9 runs, 20 assertions, 0 failures, 0 errors, 0 skips