The goal is to create a web application using Flask framework to manage inventory of a list of products in respective warehouses. Imagine this application will be used in a shop or a warehouse that needs to keep track of various products and various locations.
First, you need to clone this repo:
$ git clone https://github.com/shraite7/flask-inventory-app.git
Then change into the flask-inventory-app
folder:
$ cd flask-inventory-app
Now, we will need to create a virtual environment and install all the dependencies. We have two options available for now.
Use Pipenv:
$ pipenv install
$ pipenv shell
Or use pip + virtualenv:
$ virtualenv venv
$ . venv/bin/activate # on Windows, use "venv\Scripts\activate" instead
$ pip install -r requirements.txt
Before run the application, make sure you have activated the virtual enviroment:
$ flask run