Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/carloocchiena/django_erp
Python Enterprise Resource Planner (ERP) software prototype.
https://github.com/carloocchiena/django_erp
api-rest django django-application djangorestframework erp erp-application python
Last synced: 19 days ago
JSON representation
Python Enterprise Resource Planner (ERP) software prototype.
- Host: GitHub
- URL: https://github.com/carloocchiena/django_erp
- Owner: carloocchiena
- License: mit
- Created: 2022-06-08T10:57:57.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-30T10:19:17.000Z (6 months ago)
- Last Synced: 2024-10-21T02:04:00.369Z (26 days ago)
- Topics: api-rest, django, django-application, djangorestframework, erp, erp-application, python
- Language: Python
- Homepage:
- Size: 317 KB
- Stars: 11
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![Lines of code](https://img.shields.io/tokei/lines/github/carloocchiena/django_erp?style=plastic) ![GitHub Repo stars](https://img.shields.io/github/stars/carloocchiena/django_erp?style=social) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com)
# sERPent - A Django ERP prototype
Creating an Enterprise Resource Planner (ERP) software that may helps me managing my company. Currently WIP.## Environment setup and quick-start
**About my prod env:** code has been build and tested on Django 4.0.2 and Python 3.8.8 running on Win11 machine.
1. Clone the project: `git clone https://github.com/carloocchiena/django_erp.git`.
2. Create a virtual environment (conda `conda create -n my_env pip python=3.8`) (python `python3 -m venv my_env`).
3. Activate your virtual environment: (conda`conda activate my_env`) (Linux/MacOS `source my_env/bin/activate`) (Windows `source my_env/Scripts/activate`).
4. Install requirements.txt: `pip install -r requirements.txt`.
5. Create a `.env` file with your SECRET KEY
6. Navigate to the `erp` folder you want.
7. Make migrations with: `python manage.py makemigrations` and apply them with `python manage.py migrate`.
8. Let's start the engine with `python manage.py runserver`.
9. Have fun! :)### Use docker-compose
Run it in Docker with ```docker-compose up django_erp```
## Business Logic
The underlying idea is being able to quickly create templates for Companies and Products and cloning them upon necessity.
Payments and Invoices are expected to be inserted from time to time.
The filtered views allow to have a quick overview of how's the business going, specifically having in mind the daily checks you have to perform on outstanding credits and debits and invoices.
I may be willing to extend reporting features a bit, it depends from the free time I have to allocate on this project.## Testing
To run the automated test, input `python manage.py test --parallel auto --verbosity=2`.
Use predefined docker-compose service if docker is available:
```docker-compose -f docker-compose.test.yaml run --rm django_erp_tests```At the moment there are more near 100 test cases, covering from models, to forms, to views, and their underlying logics.
## Frontend
I took a personal challenge in tryin to do the whole project with Bootstrap 5, without using CSS stylesheet (that is in fact just made up of 3 row of code).
## Example screenshots (video)
![screenshots](gif.gif)
## Features
List of all the available feature as per 14 Sept 2022
Data entry
Automations
## Walkthrough
I created also some additional walktrought that should help you configuring your Django project:
- [The django walkthrough](django_walktrought.md).
- [A list of useful commands](CLI_commands.md).
## Contribute
Every feedback and contributions are welcome.
Please just:
1. Open an issue and discuss the changes you'd like to make or the bug\issue you'd like to report.
2. Once ready to submit a pull request, provide proof of the testing you've done.
### Contributors
- [panjacek](https://github.com/panjacek)