Coder Social home page Coder Social logo

care_pets's Introduction

README

This README would normally document whatever steps are necessary to get the application up and running.

Dependencies:

  • Ruby version 2.5+

  • Rails >= 6.0.3.3

  • PostgreSQL

Setup

  • To setup your dev environment follow the steps in your terminal
## clone the repository
git clone https://github.com/acodeicodando/care_pets.git

## enter in the directory
cd care_pets
## dont forget to edit your config/database.yml with postgres access
## install bundler and gems of the project
gem install bundler
bundle install
## create database structure and setup with initial data
rails db:drop db:create db:migrate db:seed

Developing

  • It's recommend to use the Visual Studio editor to code the project because have lot of extensions that can use and help you
  • Edit your config/database.yml with postgres credentials
  • To code the new feature follow
git checkout develop
git pull origin develop
git checkout -b feature/description-of-feature
  • after the changes and tests are ok run
rspec .
git add .
git commit -am 'short description about the changes'
git push origin feature/description-of-feature
git checkout develop
git pull origin develop
git merge feature/description-of-feature
git push origin develop
  • To code the a bug or fix follow
git checkout develop
git pull origin develop
git checkout -b fixes/description-of-fix
  • after the changes and tests are ok run
rspec .
git add .
git commit -am 'short description about the changes'
git push origin fixes/description-of-fix
git checkout develop
git pull origin develop
git merge fixes/description-of-fix
git push origin develop

Testing

  • The project it's using the gem Guard to help with tests so just run
bundle exec guard
  • and when you update some file, the tests will auto run

Deploy

git checkout master
git merge develop
git push heroku master

care_pets's People

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.