Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Latest commit

 

History

History
63 lines (39 loc) · 1.21 KB

README.md

File metadata and controls

63 lines (39 loc) · 1.21 KB

Build Status Coverage Status

Flask Inventory

Flask Inventory is an attempt to create an inventory management system for a small business using the flask framework. Currently the project is under heavy development and not ready for use.

Quick Start

Basics

  1. Activate a virtualenv
  2. Install the requirements
$ pip install -r requirements.txt

Set Environment Variables

Update config.py, and then run:

$ export APP_SETTINGS="project.config.DevelopmentConfig"

Create DB

Run setup.sh to setup the database and add an admin user.

$  ./setup.sh

Run the Application

Start the webserver:

$ python manage.py runserver

You should then be able to view the application in the brower. To access the admin section login with:

Username: ad@min.com

Password: admin_user

Testing

Without coverage:

$ python manage.py test

With coverage:

$ python manage.py cov