Mafer1017 / marios_foods

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mario's Specialty Foods

By: Marcus Ferreira

Description

This project allows users to input food products and add reviews for each product.

Technologies Used

  • Ruby
  • Rails
  • Gems
  • Bundler
  • RSpec
  • Capybara
  • Postgres
  • SQL

Setup/Installation Requirements

  • Clone or download this repository onto your desktop
  • Navigate to top-level of directory
  • In the main project directory, enter bundle install in the terminal to include necessary gems.
  • Create the necessary databases on your device using postgres by inputting the following command in the terminal: rake db:create
  • Migrate the database by running: rake db:migrate
  • Create the testing database by inputting the following command in the terminal: rake db:test:prepare
  • Seed the database by running: rake db:seed
  • In a separate terminal window, run: rails s
  • Open your browser and nagivate to http://localhost:3000/
  • Create an account by clicking the Sign Up link in the top of the homepage and enter the required details.
  • Open the rails console by entering the command rails c in your terminal
  • Navigate to the account you created by inputting user = User.where(email: "YOUR EMAIL HERE") command
  • Change user status to admin by entering the command user.update(admin: true)

Known Bugs

There are no known bugs

License

MIT

Copyright (c) 2022 Marcus Ferreira

About


Languages

Language:Ruby 70.2%Language:HTML 21.2%Language:JavaScript 4.2%Language:Batchfile 3.4%Language:CSS 0.9%