⭐ Mark the project with a star. 👀 Watch the project for receive news.
🇧🇷 Acesse esta página em Português do Brasil.
Advanced Python/Django ERP application for product, employee and sales registration, detailing, editing, deletion and listing, with access control. Features and evolutions planned can be found in the Main Features Available section.
To learn more about upcoming releases, refer to the Project Roadmap
- Employees' registration, detailing, editing and listing;
- Products' registration, detailing, editing, deletion and listing;
- Sales' registration, detailing, editing, deletion and listing;
- Public and private pages access control;
- Connection to persist informations in local data base;
- 76% of test coverage.
This is an example of how you may set up the project locally in your computer. We strongly recommended that you use virtual environments to run the application, we recommend Virtualenv (or any other of your choice). Read it, create and activate the virtual environment inside the project folder before steps 5.
To get a local copy up and running follow these steps:
- Make sure you have Python 3.10.11+ installed or do it from Python.org or from Anaconda;
- Make sure you have Git installed or do it from Git-scm.com;
- Access the folder you want to save the project, then clone the repo there
git clone https://github.com/tjas/tjas-erp
- Access the project folder;
- Install the project dependencies
pip install -r requirements.txt
- Make sure PostgreSQL is running on your computer and that the
db_erp
database has been created. The database name, access and other related settings must be verified and can be changed in theDATABASES
variable ofsettings.py
file, located in main application folder (core
module). - Run the migrations
python manage.py migrate
- Run Django project
python manage.py runserver
- Then access aplication at http://127.0.0.1:8000/
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Add files changed:
git add .
- Commit your changes:
git commit -m "Add some useful comment here"
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
- Add a title and description that let clear your suggestion;
- Use the English language for comments and branch names;
- After your pull request is merged, you can safely delete your branch.
For unit testing creation it was been used the tools available in the django.test
module of Django and in unittest library of Python. To assess test coverage, the coverage package was used.
From inside the project folder, run:
python manage.py test
From inside the project folder, run the tool and generate reports:
coverage run --omit='*/venv/*' manage.py test
coverage report
coverage html
Thiago Jorge Almeida dos Santos, project author and maintainer.
- Code distributed under MIT License.