https://github.com/roramirez/payinv
Payinv is a control system for Sales <-> Invoices And Payments for Customer.
https://github.com/roramirez/payinv
Last synced: 11 days ago
JSON representation
Payinv is a control system for Sales <-> Invoices And Payments for Customer.
- Host: GitHub
- URL: https://github.com/roramirez/payinv
- Owner: roramirez
- License: mit
- Created: 2019-09-17T19:51:35.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-01-21T19:54:58.000Z (over 4 years ago)
- Last Synced: 2023-03-27T22:10:36.777Z (about 3 years ago)
- Language: CSS
- Homepage: https://payinv.herokuapp.com/
- Size: 230 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.rst
- License: LICENSE
Awesome Lists containing this project
README
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
- `Bootstrap `_
- `Font-Awesome `_
- `jQuery `_
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
#. With npm install CSS/Javascript dependencies::
npm install
#. Create a database in your PostreSQL called `payinv_production` and the role
permission for user `payinv`
#. Set credentials
A) You can edit directly the file `src/payinv/settings/base.py` and set the
database connection credencials and
`SECRET_KEY `_
B) 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)
#. Install dependencies and set Python enviroment::
python3 -m venv venv
. venv/bin/activate
pip install -r requirements.txt
#. Run init script::
./run-payinv.sh