镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Repository files navigation

Payinv

Payinv is a control system for Sales <-> Invoices And Payments for Customer.

Software Stack

The code base is written using the Django with PostgreSQL as database.

Includes the follow Javascripts and CSS libraries and toolkit

To change the backend database should set this into the file src/payinv/settings/base.py in the DATABASES section.

Installing

First to all you be sure in your system has installed Python 3, PostgreSQL and NPM

  1. With npm install CSS/Javascript dependencies:

    npm install
    
  2. Create a database in your PostreSQL called payinv_production and the role permission for user payinv

  3. Set credentials

    1. You can edit directly the file src/payinv/settings/base.py and set the database connection credencials and SECRET_KEY

    2. Other way is set by environment variables:

      export PAYINV_ENVIRONMENT=production
      export PAYINV_DATABASE_PASSWORD=mypassword
      export PAYINV_SECRET_KEY=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 64|head -n 1)
      
  4. Install dependencies and set Python enviroment:

    python3 -m venv venv
    . venv/bin/activate
    pip install -r requirements.txt
    
  5. Run init script:

    ./run-payinv.sh
    

About

Payinv is a control system for Sales <-> Invoices And Payments for Customer.

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages