Skip to content

ucsb-cs56-f18/ucsb-cs56-buy-sell-giveaway

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ucsb-cs56-buy-sell-giveaway

Fall 2018

Description: Users can exchange free items. The two users are givers and getters

  • Zain - ghesebull
  • Zach - zholoien
  • Yinon - yinonrousso
  • Rami - ramipinto
  • Juan - juangonzalez20
  • Derek - derektkbang

To run locally

Setting up your database

You need to create a new mlab database and configure. For this you can follow this tutorial: https://ucsb-cs56-pconrad.github.io/topics/mongodb_mlab/

You should pay special attention to Step 3: Adding a Collection and Creating the user and password.

Once you have this. You need edit the localhost.json file with the correct information.

{
 "spring.data.mongodb.database":"fill-in-database-name",
 "spring.data.mongodb.host":"fill-in-host",
 "spring.data.mongodb.password":"fill-in-password",
 "spring.data.mongodb.port":"fill-in-port",
 "spring.data.mongodb.username":"fill-in-username"
}

Running the application

mvn clean
mvn compile
. env.sh
mvn spring-boot:run

To deploy to heroku

Include your mlab database information in your heroku app config variables. (Setting>Reveal Config Var)

mvn clean
mvn compile
mvn package heroku:deploy

Website: https://cs56-f18-buy-sell-giveaway.herokuapp.com

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 67.7%
  • FreeMarker 23.8%
  • CSS 8.1%
  • Shell 0.4%