Skip to main content

Betterlife Intelligent PSI(Purchase, Sales and Inventory) system

Project description

Betterlife Intelligent PSI Travis (.org) Code Coverage

Intelligent PSI(Purchase, Sales and Inventory) management system

GitHub Code Health commits since release Release PyPI

Try to answer some questions like

  • Which product generates the most revenue/profit in my store and what's the data?
  • When do I need to replenish the stock and how much do I lost if that's not done?
  • What is the optimized quantity/date for replenish the stock?

Install & Run & Deploy

  • Run using Docker (Recommend)

    • Make sure docker is installed and configured correctly.
    • Clone the code via git clone
    • cd betterlifepsi && docker-compose build && docker-compose up to build and run the docker image
    • Please notice the database data is mounted to a docker volume called psi_data by default.
  • Install and run locally

    • Clone the code via git clone
    • pip install -r requirements.txt to install runtime dependencies.
    • pip install -r etc/requirements/test.txt to install development dependencies.
    • Create postgresql database and user for the application.
    • Set follow environment variables:
      • DATABASE_URL : Database URL, only postgresql is tested as of now.
      • FLASK_APP: Should be set to psi.cli:application
      • SECURITY_PASSWORD_SALT : password salt for password generation
      • SECRET_KEY : secret key for password generation
      • CLOUDINARY_URL : Cloudinary URL if use cloudinary to store image attachments
      • SENTRY_DSN : Sentry DSN if use sentry to handle exceptions
    • flask run to run the application
    • Set environment variable TEST_DATABASE_URL and invoke flask test to run tests.
  • Install and run on heroku

    • Click button Deploy to deploy current version to heroku.



Betterlife PSI uses MIT License

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for betterlifepsi, version 0.6.8
Filename, size File type Python version Upload date Hashes
Filename, size betterlifepsi-0.6.8-py3-none-any.whl (1.6 MB) File type Wheel Python version py3 Upload date Hashes View
Filename, size betterlifepsi-0.6.8.tar.gz (1.4 MB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page