Stock Managment System is python based personal projected developed using django framework. This application can be basically used to keep track of all the inventory items that are issued to different departments within a firm/company.
Different python packages were used to develop this project such as crispy-form, psycopg2,django-bootstrap-modal-forms, and others, which are all mentioned in requirements.txt file.
GIT clone from GitHub
$ mkdir inv_manag
$ cd inv_mang
Then clone the Inventory Management App Repo from the GitHub.
inv_mang $ git clone https://github.com/Shuvam77/stock_management.git .
Docker
Build Images and Run Docker Containers
inv_mang $ docker build .
inv_mang $ docker-compose up
Propogate your models into database schema
inv_mang $ docker-compose exec web python manage.py makemigrations
inv_mang $ docker-compose exec web python manage.py showmigrations
inv_mang $ docker-compose exec web python manage.py migrate
For super access in application
inv_mang $ docker-compose exec web python manage.py createsuperuser
Username: admin
Email address: admin@email.com
Password: sudo@123
URL: http://YOUR_LOCALHOST_URL/admin/
inv_mang $ docker-compose up
or
inv_mang $ docker-compose up -d (run in background)
inv_mang $ docker-compose down
inv_mang $ docker-compose up --build