Code Monkey home page Code Monkey logo

ratemypet's Introduction

README

Table of Contents

Introduction

I created a Rate My Pet website that is inspired from those Rate My Noun websites of the 1990s and early 2000s.

Getting Started

To get started the database must be loaded by using the rake task rake db:migrate. Imagemagick is a dependency for ActiveStorage so it must be installed too. If using Ubuntu you can install Imagemagick via terminal by typing sudo apt-get install imagemagick. If you are using a different operating system installation instructions can be found from the website https://imagemagick.org/script/download.php. Additionally if you want to be able to use the Github functionality, since this is still in development and not launched you will need to have set up a new OAUTH app in your GitHub>Settings>Developer Settings. Then create a .env file with the variables GITHUB_KEY=Client ID and GITHUB_SECRET=Client Secret. The Client ID and Client Secret are provided to you by GitHub once you make a new OAuth App to use with my program.

Usage

Non-registered users are free to view the gallery but cannot see or post comments of their own. When trying to do an action that requires a login the user will be redirected to the signup page. Users are free to sign up for an account, or sign in via a GitHub account. With an account, you can make comments on pictures, reply to other comments, and upload\edit your picture.

Loading Seed Data

For demonstration purposes, there is an included seed_data.tar.xz that contains the files used for creating seed data with images. Extract the tar by your GUI, or the terminal commands tar -xf SeedData.tar.xz. This should extract /db/seed.rb, and /db/seed_pictures/*. Load the seed data by using the command rake db:seed this will load dummy data for demoing purposes.

Contributors

If you would like to contribute fork the github repo, create your feature branch, commit changes and push the branch.

License

(c) 2020 Vladimir Jimenez, all rights reserved. For Online Software Engineering PT - Ruby Rails Project

Changelog

Version 1.0 (9/23/2020) Initial Release

ratemypet's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.