Git Product home page Git Product logo

siwapp's Introduction

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

siwapp's People

Contributors

joez99 avatar ecoslado avatar carlosescri avatar peillis avatar serguitus avatar mdogo avatar goravbhootra avatar atcruice avatar jcalado avatar

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.