diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..5008ddf Binary files /dev/null and b/.DS_Store differ diff --git a/README.md b/README.md index d91ea86..ca9f032 100644 --- a/README.md +++ b/README.md @@ -35,3 +35,16 @@ As developers, we wish to utilize a third-party API. – The ability to randomize the favorite images or turn them into a slideshow of the user and/or the general favorites. – Add a small grid calendar to our inputs for user to select a date for filtering images. + +#### STEPS +To add the tables to another local repo: + - Do a sql:dump from the locally created database (create a text file with the data) + - Then sql:load into the other local repo + +Create a Heroku app (this will store the persistent data for our users): + – Create a new app + – Add a databse + – Do this: heroku pg:push mylocaldb (name) DATABASE_URL --app your-app-name + – Connect heroku with postgres: heroku pg:psql --app your-app-name + – Use postgresql commands to check tables and data + diff --git a/index.html b/index.html index 83053a2..5d2ecaa 100644 --- a/index.html +++ b/index.html @@ -68,10 +68,10 @@
- diff --git a/models/image.js b/models/image.js index e83a231..3d24fd0 100644 --- a/models/image.js +++ b/models/image.js @@ -22,7 +22,6 @@ const API_URL = 'http://localhost:3000/api/v1'; }else{ camShort = "rhaz"; } - const options = { rover: $('#rover option:selected').text(),