Skip to content

App to organize donation information for Carrie's Closet Clothing of Georgia

Notifications You must be signed in to change notification settings

tumbleshack/CarriesCloset

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date
Feb 5, 2021
Jan 25, 2021
Feb 5, 2021
Feb 1, 2021
Jan 25, 2021
Jan 25, 2021
Jan 25, 2021
Jan 25, 2021
Jan 29, 2021
Jan 25, 2021
Jan 25, 2021
Jan 25, 2021
Jan 25, 2021
Jan 25, 2021
Jan 25, 2021
Feb 5, 2021
Feb 5, 2021
Jan 25, 2021
Jan 25, 2021
Jan 25, 2021
Jan 25, 2021
Jan 25, 2021
Jan 25, 2021
Jan 25, 2021

Repository files navigation

Carrie's Closet

Getting Started

After a clean install of this repo, you'll need to run bundle install inside the CarriesCloset root folder. This will install all needed requirements.

Database Creation

You'll need to have MySQL installed and running locally.

Database Initialization

Depending on whether or not you've run the Rails server recently, or if you're having troubles with your database/server, you'll want to run the following:

bin/rails db:drop
bin/rails db:create && bin/rails db:migrate && bin/rails db:seed

General Rails Tips

  • Always use bin/rails when running commands from the terminal (this will point to the proper Carrie's Closet project)
  • bin/rails console --sandbox will create a sandboxed version of a REPL-style console, loaded with all the classes and data from your running app. Any changes made in the sandbox will be reverted when you exit.
  • bin/rails generate Tweet user:references body:text likes:integer will create a Tweet model that belongs to a User model. Each Tweet will be stored in the database with a body text field and a likes counter.
  • bin/rails destroy Tweet will revert all generated files for the previous Tweet model.

About

App to organize donation information for Carrie's Closet Clothing of Georgia

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published