readme updates
[oweals/finalsclub.git] / README.md
1
2 # Finals Club (FC)
3
4 This is the source code repository for [finalsclub.org](http://finalsclub.org/).
5
6 FC is a 501(c)(3) non-profit open education project dedicated to
7 helping college students collaborate, learn, and share their knowledge freely online.
8
9
10 # Infrastructure
11
12 The FC servers run in the cloud on Linux servers, using Amazon Web Services (AWS).
13 Scaling is accomplished by adding additional servers to a load balancer.
14
15 NOTE: The scaling system is automatic; new servers have to be added manually, but it it's very easy.
16 NOTE: Automatic fail-over of the database is not yet in place.
17
18 NOTE: There are currently 2 running server instances.  One for the live server and one for testing.
19
20 Data is stored in a MongoDB server running on the same AWS instance as the website.
21 Data is backed up daily to the durable AWS S3 system.
22 One backup of the database is kept for the most recent 30 days, one for each of the most
23 recent 12 months, and one for every year.
24
25 AWS Cloudwatch is used to monitor the servers.
26 When the configured conditions warrant attention, notices are sent to "info@finalsclub.org".
27
28 NOTE: There are currently 2 monitors set up:
29
30 - available disk space
31 - CPU utilization
32
33
34 # Source Code
35
36 The source code for the website itself consists of these main parts:
37
38 - The collaborative, real-time editor
39 - The back channel
40 - The surrounding website
41
42 These 3 pieces are written in Javascript for Node.js.
43
44 ## The Collaborative Real-time Editor 
45
46 The real-time editor is an embedded editor called
47 [Etherpad-Lite](https://github.com/Pita/etherpad-lite) (EPL).
48 It provides the ability for multiple people to simultaneously edit a single document.
49 The documents in FC are the notes for a specific lecture.
50
51
52 ## The Back Channel (BC)
53
54 The back channel portion of FC is called ["BC"](https://github.com/FinalsClubDev/BC).
55 BC allows the note takers, or anyone else who is just observing,
56 to suggest questions for the lecturer, and vote on each other's questions.
57 It also allows people to post commentary.
58
59
60 ## The Surrounding Website
61
62 This is the FC website, which brings together the other two elements into
63 a single website that serves it's stated purpose (above).
64 This would be the home page, privacy policy page, the page that lists the participating
65 schools, the sub pages containing lists of lectures and note taking sessions, and the
66 core page where EPL and BC are both found along side each other. 
67
68
69
70
71
72