Stocky is Stock Management System, Built using Django framework
You can use this project to Add, edit and manage all these models
- Company information.
- Branches.
- Branches managers and their permissions.
- Products.
- Product quantities
- Imports.
- Sales.
- Invoices.
The project contains a dashboard to
- Review all remaining quantities.
- Charts to show progress.
- Filter using a date to review how was your progress on this date.
To build this project we used several technologies
- Django framework
- MySQL
- Docker
- Wkhtmltopdf package
copy .env.example
to .env
and fill the values of the variables, Example
# MySQL Env. variables
MYSQL_ROOT_PASSWORD=root
MYSQL_DATABASE=django-dbname
MYSQL_USERNAME=root
MYSQL_PASSWORD=root
# Database host
DB_HOST=db
DB_PORT=3306
The benefit to having docker in your project is you don't need to worry about dependencies, just install docker, docker-compose and docker-machine then run
$ docker-compose build
$ docker-compose up
- Create superuser for login
$ docker-compose exec web python manage.py createsuperuser
- to generate random data for testing
$ docker-compose exec web python generateData.py