m05e5 / random_hello

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Random Hello

This is a simple rails project including react gem

Built With

  • Ruby on Rails
  • PostgreSQL

Getting Started

Clone the project

Prerequisites

Setup

  • Make sure you have Ruby IRB installed on your computer
  • Clone or download this repo on your machine
  • Enter project directory

Install

bundle install

Database

# Create user
sudo -u postgres createuser blog -s

# Create the database
rake db:create

# Load the schema
rails db:schema:load

## Apply migration (only if you generate a new migration file)
rails db:migrate

# Seed
rails db:seed

Run

rails server

Test

rspec

Troubleshoot

Rspec failing

RAILS_ENV=test rake db:reset

Authors

👤 caleb moses

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Microverse

About


Languages

Language:Ruby 60.4%Language:JavaScript 17.5%Language:HTML 13.4%Language:Batchfile 7.0%Language:CSS 1.7%