Giter Site home page Giter Site logo

cooperativa-escolar's Introduction

README

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

What is this repository for?

How do I get set up?

Rails

  1. Get PostgresSQL, info can be here

  2. Get RVM (unless you already got it), info in here

  3. Install the correct Ruby version (currently 2.4.1) -> rvm install ruby-2.4.1

  4. Install the Bundler gem -> gem install bundler

  5. Install the other gems -> bundle OR bundle install

  6. Setup the database.yml file (There's a guide -> databse.yml.example ).

  7. Setup the .env file for sending emails from development on your local machine (There's a guide -> .env.example).

  8. Setup the database -> rake db:setup

Run the local server

  1. Run the server -> rails s, this will start your local server at localhost:3000/

Run tests:

  1. rake db:test:prepare

  2. rspec

  3. Test coverage report can be found in coverage/index.html

Deploy instructions

Deploys will be manually handled by the project's tech lead.

Contribution guidelines

  • We use Rspec for writing tests, if unfamiliar with it, can find a guide here

  • Project uses HAML instead of the normal ERB/HTML based Rails templates, if unfamiliar with HAML you can find a guide here

  • To handle JSON responses, this project uses the AMS gem, if unfamiliar with it, you can find a guide here

  • Before submitting pull requests for review, make sure to run rubocop -a, which will find code offenses, it will auto-fix some and point out the rest for you to fix. A guide of Rubocop use can be found here

  • To generate a visual guide of the database model run -> erd, a guide of the ERD gem can be found here

Who do I talk to?

  • Repo owner or admin

  • Other community or team contact

cooperativa-escolar's People

Contributors

jeffny2015 avatar johangasten avatar

Watchers

James Cloos avatar Saul Zamora avatar  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.