JKRuigu / yelp-camp

Project created during Colt Steele's Bootcamp and further tweaked - https://www.udemy.com/the-web-developer-bootcamp/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

YelpCamp

YelpCamp is a project that was completed as a part of Colt Steele's bootcamp. My version of YelpCamp has a few tweaks beyond what was coded in class.

Setup

Different setups are needed if you plan on using YelpCamp locally (or Cloud9) verus the Heroku + MongoLab setup. This is accomplished using enviornment variables.

Local/Cloud9 Setup

Run the following commands in the terminal. Be sure to update information as necessary.

export DATABASEURL=mongodb://localhost/yelp_camp
export SESSION_SECRET=Whatever phrase you choose

Heroku + MongoLab setup

Update the variables as follows:

DATABASEURL 'mongodb://<dbuser>:<dbpassword>@1234.mlab.com:19990/yelp-camp'
SESSION_SECRET 'Whatever phrase you choose'

This can be accomplished on the Heroku site by accessing the Config Vars on the Settings page.
Alternatively this can be done on the command line with the following commands:

heroku config:set DATABASEURL='mongodb://\<dbuser>:\<dbpassword>@1234.mlab.<span></span>com:19990/yelp-camp'
heroku config:set SESSION_SECRET='Whatever phrase you choose'

Deployed

The app is deployed here at Heroku (also using MongoLab).

About

Project created during Colt Steele's Bootcamp and further tweaked - https://www.udemy.com/the-web-developer-bootcamp/

License:GNU General Public License v3.0


Languages

Language:JavaScript 55.2%Language:HTML 40.7%Language:CSS 4.1%