Skip to content

SolidCreek/yokel

Repository files navigation

Yokel

Restaurant and bar reviews for locals by locals

Team

  • Product Owner: Geoffrey Abdallah
  • Scrum Master: Jake Gribschaw
  • Development Team Members: Stefanie Contreras, Collin Kokotas

Table of Contents

  1. Usage
  2. Requirements
  3. Development
    1. Installing Dependencies
    2. Tasks
  4. Team
  5. Contributing

Usage

###Setting up the neo4j server 2. create an azure ubuntu 14.14 server 2. login via ssh using the username and password you provided 2. Update the headers with: sudo apt-get update 2. Install the latest version of open java 7 with: sudo apt-get install openjdk-7-jdk 2. Download neo4j with: wget http://dist.neo4j.org/neo4j-community-2.1.3-unix.tar.gz 2. Extract the tar ball with: tar -zxvf neo4j-community-2.1.3-unix.tar.gz 2. Change into the neo4j directory with: cd neo4j-community-2.1.3/ 2. Install neo4j as a service using: sudo ./bin/neo4j-installer install 2. Allow the service to create a new user for you 2. Edit conf/neo4j-server.properties with: sudo nano conf/neo4j-server.properties Change this line:

  • #org.neo4j.server.web server.address=0.0.0.0 to this:
  • org.neo4j.server.web server.address=0.0.0.0 and close the editor Hot tip: you can save and exit nano with ctrl+x then hit y and enter
  1. Check to see if the service is running with: sudo service neo4j-service status If the service is not running start it with: sudo service neo4j-service start If the service is running restart it with: sudo service neo4j-service restart
  2. Open your virtual machine in azure web client and navigate to endpoints
  3. Add or edit the HTTP endpoint to the following name: HTTP protocol: TCP Public Port: 80 Private Port: 7474
  4. Allow the changes to be applied
  5. Navigate to your webserver it will be somthing like websiteName.cloudapp.net 2.You are all set!

###Google API Key 3. Go to https://console.developers.google.com 3. Login or create an account 3. Create a new project 3. Click enable API 3. Find Places API and turn it on 3. On the left hand side select credentials 3. Select public API access and create new key choose server key 3. Copy your new API key and export it to your local environment You can do this with:

  • export GOOGLE_API_KEY=yourAPIKeyHere
  1. your key should now be accessible to the server!

###Facebook API Key and Id 4. Go to https://developers.facebook.com/ 4. Log in and accept the developer agreement 4. Once you're logged in on the top bar click the Apps drop down and select create new app 4. Select www to create a web based app 4. Under category choose food & drink and create the app 4. On the next screen click skip quick start 4. This will take you to the apps dashboard here you will see the app id and app secret 4. you should save these keys just like the google api key

  • export FACEBOOK_CLIENT_ID=facebookAppId
  • export FACEBOOK_CLIENT_SECRET=facebookAppSecret
  1. Now we need to set the callback urls that your app will accept
  2. Click settings on the right hand side of the screen
  3. Then click Advanced
  4. Under security there is a field called Valid OAuth redirect URIs in here you want to add your callback url
  1. You need to now save this callback on your computer:
  • export FACEBOOK_CALLBACK_URL=URLThatYouSetInTheValidRedirects
  1. Go back to the Basic tab and add a contact email and site url
  • you will need to do this in order to make your app public
  1. Next got to status and review and change the slider of: Do you want to make this app and all its live features available to the general public? to Yes
  2. Congratulations you now have a Facebook app that you can authenticate with!

Requirements

  • Node 0.10.x
  • Angular
  • Express
  • Neo4j

Development

Installing Dependencies

From within the root directory:

sudo npm install -g bower
npm install
bower install

Roadmap

View the project roadmap here

Contributing

See CONTRIBUTING.md for contribution guidelines.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published