AM
amenarde/Aru
simple, beautiful, text-based social media
Full name: Antonio Menarde, James Taggart, Tiffany Yue
SEAS login: amenarde, tyue, ptaggs
Which features did you implement?
Entire Assignment, Facebook
Did you complete any extra-credit tasks? If so, which ones?
- Linkedin-style friend requests
- It's really beautiful
- Privacy: Can only see posts of people you are friends with
- Can dynamically update your user info after creation
- All chats are intelligent and persistent
- Newsfeed posts allow you to easily click through to a user relevant in that post
Did you personally write all the code you are submitting
(other than code from the course web page)?
[X] Yes
[ ] No
Did you copy any code from the Internet, or from classmates?
[ ] Yes
[X] No
Did you collaborate with anyone on this assignment?
[ ] Yes
[X] No (Not outside group of 3)
Instructions to Run
- Add DB info to config.json
- npm install from webapp/
- node buildtables.js to build the DB tables
- node app.js to run app
- Want to run in cloud? Must change socket address is chat.ejs from localhost to public IP of your hosted instance.
Running hadoop
- Get data from databases
a. Run command 'node getFriendData.js' from webapp/ - Run hadoop
a. Move the input.txt file to folder from which hadoop will run
b. Run the hadoop jar with the command: composite
c. Retrieve part-r-00000 from the hadoop output file and move it to recommender folder - Upload data
a. Run command 'node uploadFriendData.js' from webapp/