Coder Social home page Coder Social logo

relational_rails's Introduction

A Crag/Climb Manager | Solo Project - Turing BE

This is a basic Ruby-on-Rails web app that manages climbs located in various crags.

Ruby Version: 2.7.4
Rails Version: 5.2.7
Database: PostgreSQL

Getting Set Up on a Mac

  1. Install Rbenv (Installation Guide)
  2. Install Homebrew (Installation Guide)
  3. Install Ruby 2.7.4: Run rbenv install 2.7.4 in your terminal
  4. Install Rails 5.2.7: Run gem install rails 5.2.7 in your terminal
  5. Install PSQL: Run brew install postgresql in your terminal
  6. Start PSQL: Run brew services start postgresql in your terminal
  7. Set project directory's local Ruby version to 2.7.4: Navigate to the directory that will store your project and run rbenv local 2.7.4

Database and Rails Server Initialization

  1. Clone this repo into your local directory
  2. cd into the cloned project directory
  3. Create project databases: run rails db:migrate in your terminal
  4. run rails s to intialize the rails server

Interacting with localhost:3000/

With your terminal open and rails s having been run and listening, type localhost:3000/crags to view all Crags in the database, and localhost:3000/climbs to view all climbs in the database.

relational_rails's People

Contributors

johnny-bowman avatar

Watchers

 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.