Skip to content

rtclab/AxiomRTC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AxiomRTC

Axiom Real Time Online Classing

Overview

Online learning center for education.

Getting started

Make sure Ruby is installed.

$ ruby -v

Install requirements:

$ bundle

Setup database:

$ rails db:migrate && rails db:setup

Fire up the server:

$ rails s

Now you can visit http://localhost:3000

Localize

Support both Chinese and English, change following line in config/application.rb

    I18n.default_locale = :en

to

    I18n.default_locale = :cn

to enable Chinese version.

It's better to add localization parsing in routing.

Characters

  • Administrators
  • Teachers
  • Students

Chatting

  • n to n

n students + n teachers + n administrator

Where n is a limited number.

You can also add strangers into the chatting if you want.

Accounts

In development environment, accounts are settled up in db/seeds.

Briefly:

  • All passwords are '12345678'
  • Administrtor mobiles: 10000000001, 20000000000...20000000005
  • Teacher mobiles: 30000000000...30000000016
  • Student mobiles: 40000000000...40000000140

Use them to sign in for testing.

TODOs

  • Integrate character management
  • Use dynamic key generation other than static APP ID on Chatting
  • Enable schedule on chatting
  • Enable recording on chatting
  • Enable guardian (of students) and administrator spot checking on chatting
  • Use Redis for chatting cache
  • Enable mobile phone number ownership checking
  • Billing

By

Xing(thehxpax@gmail.com)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors