Skip to content

aleks279/ap-demo

Repository files navigation

README

  • demo change

This True 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?

  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

  9. Run the server -> rails s

Run tests:

  1. rake db:test:prepare

  2. rspec

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

Deploy instructions

  • Automated with Heroku and CircleCI, don't fret.

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

  • 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published