Ruby HTML CoffeeScript CSS Shell
Latest commit bfca747 Feb 17, 2017 @mdogo mdogo Add search by invoice number
Fix #180
Permalink
Failed to load latest commit information.
app Add search by invoice number Feb 17, 2017
bin added rspec testing framework and some invoice creating form fields Jan 22, 2015
config #181 - Number set "auto-magically" for new or draft invoices. Also fo… Feb 16, 2017
db #270 - Restores Invoice [series, number] UNIQUE index (#271) Feb 16, 2017
lib Create random past_due invoices Feb 2, 2017
public start with rails 4.2.0 Jan 12, 2015
spec #270 - Restores Invoice [series, number] UNIQUE index (#271) Feb 16, 2017
vendor/assets #226 - Increase testing speed Dec 22, 2016
.gitignore adding Gemfile.lock to ignore list Feb 25, 2016
.rspec added rspec testing framework and some invoice creating form fields Jan 22, 2015
.ruby-gemset added LICENSE file and rvm gemset May 15, 2016
.ruby-version added rspec testing framework and some invoice creating form fields Jan 22, 2015
.travis.yml changes for travis Jan 26, 2017
API_DOC.md Revert "Revert "243 entrypoint for meta (#249)"" Jan 23, 2017
Dockerfile Fix tests on docker container Dec 28, 2016
Gemfile #228 - Better recurring invoice tests Jan 17, 2017
Gemfile.lock tests with postgres Jan 25, 2017
LICENSE added LICENSE file and rvm gemset May 15, 2016
Procfile Procfile for heroku Feb 12, 2015
README.md new install instructions Jan 20, 2017
Rakefile start with rails 4.2.0 Jan 12, 2015
config.ru start with rails 4.2.0 Jan 12, 2015
docker-compose.yml Refactor docker compose Feb 1, 2017
tests.sh Fixes #235. Improved tests.sh. Jan 10, 2017

README.md

Siwapp

Build Status

Online Invoice Management

API Documentation

Howto Install on Heroku

First clone the siwapp repository into your computer:

$ git clone git@github.com:siwapp/siwapp.git
$ cd siwapp

Create the app in heroku (we suppose in the terminal your are logged in heroku). Here we call the app "siwapp-demo", but choose whatever you like.

$ heroku apps:create siwapp-demo
$ heroku apps:create --region eu --buildpack heroku/ruby siwapp-demo
$ heroku addons:create heroku-postgresql
$ heroku addons:create scheduler:standard

Push the code to heroku, and setup database.

$ git push heroku
$ heroku run rake db:setup

Finally create an user to be able to login into the app.

$ heroku run "rake siwapp:user:create['demo','demo@example.com','secret']"

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

$ 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.

$ heroku apps:open