Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 1.02 KB

README.md

File metadata and controls

49 lines (30 loc) · 1.02 KB

README

Expense tracking application powered by Rails framework.

Visit this app

Visit the following URL to try it.

Run it on your local machine

  • Following dependencies should be installed
    • ruby==2.7.6
    • psql==12.12
    • git

Perform the next steps:

  • Clone the git repo

    git clone https://github.com/Iverick/expense-tracker-rails.git

  • Install gems inside the application folder

    bundle install

  • Make sure to provide your local credentials inside database.yml file

    username: <your_db_username>

    password: <your_db_password>

    host: localhost

  • Setup the database

    rails db:setup

    • (or you can each command separately if the previous one is not working)

    rails db:create

    rails db:migrate

    rails db:seed

  • Start development server rails s

  • Run test from the root folder of the app

    bundle exec rspec

    • To run a specific test specify a path to the test file (for example)

    bundle exec rspec spec/requests/home_spec.rb