Skip to content

shafaaf/CSC326-Programming-Languages

Repository files navigation

Search Engine

Local machine installation:

The submitted code here is setup to run on local machine. To run the project locally (assuming pip installed as TA mentioned):

  1. Be at root folder and run the localSetup.sh script as following in the same directory: ./localSetup.sh
  2. Then go to url: http://localhost:8080

AWS installation:

Note: keys, credentials are not submitted in text form To setup the project on a new server in a new instance in AWS:

  1. Make a new connection, generate key pairs, Run the command: python ./makeInstanceAWSPart1.py
  2. Set up the IP address and instance id in makeInstanceAWSPart2.py as seen from online dashboard or print staments from above command
  3. (If new instance) Change redirect routes in server.py, index.tpl to the new IP address/redirect
  4. python ./makeInstanceAWSPart2.py - This will setup the ubuntu machine with the right dependencies and run the setupAWS.sh script to start the server on that machine

a. Located at EC2 hosting - HTTP

b. We have set it up such that the user's email id, full name, and profile picture (default picture shown if not provided) can be displayed when clicking on view profile. Using Google+ API

c. ab -n 100 -c 16 http://ec2-54-160-115-230.compute-1.amazonaws.com/?keywords=helloworld+foo+bar see RESULT file

About

Search Engine project for CSC326 Programming Languages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published