hesabixCore/README.md

62 lines
2.2 KiB
Markdown
Raw Normal View History

2025-03-06 03:44:17 +03:30
# **hesabix Core**
2023-12-29 17:02:51 +03:30
2025-03-06 17:04:54 +03:30
2023-12-29 20:51:09 +03:30
Hesabix is first open source accounting software in persian language with web interface.
2025-03-06 11:53:46 +03:30
This project is just API server for use with web user interface visit [https://github.com/morrning/hesabixUI](https://github.com/morrning/hesabixUI)
2025-03-06 12:21:27 +03:30
for see full project Demo see project website at [https://hesabix.ir](https://hesabix.ir)
2023-12-29 20:51:09 +03:30
## Before Installation
For install hesabixCore you need this tools
* Web server : Apache,NginX,...
2025-03-06 16:11:07 +03:30
* Database: Mysql, mariaDB,PostgreSql,....
2023-12-29 20:51:09 +03:30
* PHP: php : +8.1
2025-03-06 03:56:17 +03:30
* php extentions: php-Intl, php-mbstring, php-http, php-raphf, php-zip
2023-12-29 20:51:09 +03:30
* composer
## Installation
* Copy or clone project in web server directory . if you use shared hosting panels like cpanel or directadmin copy files in root directory and public_html folder will be rewrited.
* create database in your DBMS and edit .env file in root of project
* Install dependencies with run this command
```
composer install
```
* edit .env file and set database connection string with your username and password and name of database
* create local env file with run this command
```
2024-05-30 17:19:59 +03:30
composer dump-env prod
2025-03-06 03:35:54 +03:30
composer dump-env prod //only for development
2023-12-29 20:51:09 +03:30
```
* login to your database managment like phpmyadmin and import file located in hesabixBackup/databaseFiles/hesabix-db-default.sql
* go to hesabixCore folder in cli and update database with this command
```
2024-05-30 17:19:59 +03:30
php bin/console doctrine:schema:update --force --complete
2023-12-29 20:51:09 +03:30
```
2024-05-30 17:19:59 +03:30
2023-12-29 20:51:09 +03:30
open root domain address in browser you should see hesabix api main page.
2024-05-30 17:19:59 +03:30
## Connect to email service
For connect hesabix to your email service edit .env.local.php file located in hesabixCore folder and set your email server connection string in MAILER_DSN parameter. for more information about connection strings see symfony mailer documents. [Click Here](https://symfony.com/doc/current/mailer.html#transport-setup)
after set connection string edit mailer.yaml located in configs folder and set header for send emails.
2025-03-06 01:38:22 +03:30
## update software
2025-03-06 01:49:48 +03:30
For update software with last changes that published in hesabixCore folder run this command
2025-03-06 01:38:22 +03:30
```
php bin/console hesabix:update
```
2023-12-29 20:51:09 +03:30
## Donation
2024-05-30 17:19:59 +03:30
2025-03-06 03:28:53 +03:30
for Donate developers please use this link
2024-05-30 17:19:59 +03:30
[https://zarinp.al/hesabix.ir](https://zarinp.al/hesabix.ir)