Giter Club home page Giter Club logo

invoice-ror's Introduction

Siwapp

Build Status

Online Invoice Management. See online demo (user: [email protected], password: secret).

API Documentation

SMTP Configuration

In order to be able to send emails through the app, you must configure the following environment variables in your system:

SMTP_HOST
SMTP_PORT
SMTP_DOMAIN
SMTP_USER
SMTP_PASSWORD
SMTP_AUTHENTICATION (plain | login | cram_md5)
SMTP_ENABLE_STARTTLS_AUTO (set to 1 to enable it)

How to Install on Heroku

First clone the siwapp repository into your computer:

$ git clone https://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','[email protected]','secret_password']"

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.