Skip to content

Latest commit

 

History

History
97 lines (65 loc) · 2.24 KB

README.md

File metadata and controls

97 lines (65 loc) · 2.24 KB

Cashflow Ruby

Description

Cashflow Ruby is a web application that allows you to manage your sales and inventory on website.Update your stock information, make purchases and view sales data from anywhere whether in the office, at home, in the warehouse, or on the go. All you need to access this a device with internet connection.

Features

  • Manage customers, supplier, users
  • Manage item with category
  • Manage multiple warehouse
  • Manage orders, invoices and payments
  • Manage bank accounts and transactions
  • Manage sales, purchases, expense and income reports

Install

Clone the repository

git clone [email protected]:luisintosh/cashflow-rails.git
cd cashflow-rails

Check your Ruby version

ruby -v

The ouput should start with something like ruby 2.5.1

If not, install the right ruby version using rbenv (it could take a while):

rbenv install 2.5.1

Install dependencies

Using Bundler and Yarn:

bundle

Initialize the database

rails db:create db:migrate db:seed

Add heroku remotes

Using Heroku CLI:

heroku git:remote -a project
heroku git:remote --remote heroku-staging -a project-staging

Serve

rails s

Deploy

With Heroku pipeline (recommended)

Push to Heroku staging remote:

git push heroku-staging

Go to the Heroku Dashboard and promote the app to production or use Heroku CLI:

heroku pipelines:promote -a project-staging

Directly to production (not recommended)

Push to Heroku production remote:

git push heroku