Skip to content

Installation

Evan J edited this page Sep 29, 2021 · 7 revisions

Installation

Manual

  1. Clone the repo by running $ git clone https://github.com/ejach/InventoryApplication.git
  2. cd into the cloned directory $ cd InventoryApplication
  3. Install the requirements $ pip install -r requirements.txt

Docker

docker run -it -e host=<host> -e port=<port> -e db_file=<db_file> -e db=<db> ghcr.io/ejach/inventoryapplication:latest

  1. Change the environment variables to your liking in .env:
host=localhost
port=8000
db_file=database.db
db=parts
  1. Build the image using the existing Dockerfile by running $ docker build -t inventoryapplication .
  2. Run the newly created image using $ docker run inventoryapplication
Clone this wiki locally