/flicker

Primary LanguageRuby

Flickr Clone

_By: Celeste Field, Zinfira Safargalieva, Tyler Bowerman _

Project Goals

  • Make an app that lets users upload their photos to share with the world.

User Stories

Specs
Users create accounts
Users can add, edit, delete images (but only their own)
Users can add, edit, delete tags for all images
Users can tag each other in images (to start simple, you may choose to display a list of all the users in a drop-down menu when you add a tag)
Users have a profile page (users#show) with a list of all the photos they are tagged in
Users can "favorite" images; include image favorites on profile page
Users can add, edit, delete comments to images

Future Features

  • __

Setup/Installation Requirements

  • Clone repository from Github: https://github.com/fieldceleste/rails_active_record.git

  • In the Terminal type : $ git clone [https://github.com/fieldceleste/rails_active_record.git]

  • Navigate to folder by typing $ cd rails_active_record in terminal.

  • Open the file up in the code editior of choice

  • Install all missing dependencies and Gems, then type bundle install.

  • You will need to run bundle install after each new Gem added to project.

  • Make sure to check which Ruby version you are running by typing $ ruby -v

  • Make sure to check what Postgres version by typing postgres --version in terminal.

  • To start the database run postgres in the background terminal.

  • In a seperate terminal type psql, to start SQL.

  • To run a test using Rspec, type rpsec into the root page of the project.

  • DATABASE INSTRUCTIONS - from the root directory of this project, run these commands to start new database:

  •     `rake db:create`
    
  •     `rake db:migrate`
    
  •    `rake db:test:prepare`
    
  • To view project in browser type in terminal, rails s.

  • Navigate to localhost:3000

Known Bugs

No known bugs at this time.

Support and contact details

If you have issues, questions, ideas, or concerns, please contact (fieldceleste@gmail.com).

Technologies Used/ System Dependencies

  • Ruby

  • Sinatra

  • ActiveRecord

  • Git

  • GitHub

  • Rspec

  • Pry

  • Capybara

  • RubyGems

  • postgres

  • psql

  • SASS

  • Bootstrap

  • Devise

  • Simplecov

  • FactoryBot

  • Bcrypt

License

Legal

MIT License

Copyright (c) 2020 Celeste Field, Zinfira Safargalieva, Tyler Bowerman

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.