Skip to content

Smart Invoicing Application. Online Invoice Management in Ruby On Rails. This is the development version of the app.

License

Notifications You must be signed in to change notification settings

sagardeyrakesh/siwapp

 
 

Repository files navigation

#Siwapp

Build Status

Online Invoice Management

API Documentation

Howto Install on Heroku

First create a new App in your heroku account. Create a directory on your local computer and log in to your heroku account:

$ heroku login

Now clone the siwapp repository:

$ git clone [email protected]:siwapp/siwapp.git
$ cd siwapp

Add a remote repository:

$ heroku git:remote -a your-app-name

Probably you should remove first the postgresql addon, and then create a mysql:

$ heroku addons:destroy heroku-postgresql
$ heroku addons:create cleardb:ignite
$ heroku config | grep CLEARDB_DATABASE_URL

The last commands gives you the DATABASE_URL, which you should set with the following command. Notice you must change mysql to mysql2

$ heroku config:set DATABASE_URL='mysql2://adffdadf2341:[email protected]/heroku_db?reconnect=true'

Push the code to heroku:

$ git push heroku master

Setup database:

$ heroku run rake db:setup

Create an user to log in:

$ heroku run rake siwapp:user:create['myuser','[email protected]','mypassword']

Finally if you want the recurring invoices to be generated automatically, you have to setup the heroku scheduler addon:

$ heroku addons:create scheduler:standard
$ heroku addons:open scheduler

Add a new job, and put "rake siwapp:generate_invoices"

That's it! You can enjoy siwapp now entering on your heroku app url.

About

Smart Invoicing Application. Online Invoice Management in Ruby On Rails. This is the development version of the app.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 63.3%
  • HTML 28.0%
  • CoffeeScript 5.2%
  • CSS 3.5%