Skip to content
/ eairp Public

✨ Saas Enterprise Resource Plan (开源Sass AI ERP系统)

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

eairps/eairp

Repository files navigation

Next generation artificial intelligent ERP system


On the basis of ERP business, we have expanded GPT-3.5. individually or company can fine tune your model through our system. You can provide fully automated business form submission operations through your simple description, and you can chat, interact, and consult information with GPT. You can deploy through Docker to quickly start and use.

It's completely free, if this project is helpful to you, please click on Star. Thank you.

Project

Enginsh / 简体中文

Online preview

  • test account: admin
  • test password: 123456

Quick Start

We provide a more comprehensive Docker deployment method, which can be found in docker folder

Prerequisites

  • Docker Engine 20.10+
  • Docker Compose v2.17+

1. Docker Compose (Recommended)

Applicable scenarios: There is no MySQL/Redis environment locally, and a complete service stack needs to be started quickly.

# Clone deployment repository
git clone https://github.com/eairps/eairp.git

cd eairp

# Start services
docker compose up -d

2. Docker standalone container

Applicable scenarios: MySQL/Redis service already exists, and custom database configuration is required.

Step 1: Create a Private Network

docker network create eairp-net

Step 2: Start the MySQL container

docker run -d --name mysql-eairp \
  --network eairp-net \
  -p 3306:3306 \
  -v /path/to/mysql:/var/lib/mysql \
  -e MYSQL_ROOT_PASSWORD=123456 \
  -e MYSQL_USER=eairp \
  -e MYSQL_PASSWORD=123456 \
  mysql:8.3 \
  --character-set-server=utf8mb4 \
  --collation-server=utf8mb4_bin

Step 3: Start the Redis container

docker run -d --name redis-eairp \
  --network eairp-net \
  -p 6379:6379 \
  -v /path/to/redis/data:/data \
  redis:7.0 \
  redis-server --requirepass 123456

Step 4: Start the Eairp container

Configuration parameters:

Environment variables Explanation Example Value
SPRING_DATASOURCE_URL MySQL connection address jdbc:mysql://mysql-eairp:3306/eairp
SPRING_REDIS_HOST Redis host address redis-eairp
API_BASE_URL Front-end API basic path http://your-domain.com/erp-api
docker run -d --name eairp \
  --network eairp-net \
  -p 3000:80 \
  -p 8088:8088 \
  -e SPRING_DATASOURCE_URL="jdbc:mysql://mysql-eairp:3306/eairp" \
  -e SPRING_DATASOURCE_USERNAME=eairp \
  -e SPRING_DATASOURCE_PASSWORD=123456 \
  -e SPRING_REDIS_HOST=redis-eairp \
  -e SPRING_REDIS_PASSWORD=123456 \
  wansenai/eairp:latest

Deployment FAQ

  1. eairp container /start.sh: no such file or directory

This issue is commonly caused by Windows' handling of line endings in text files, which can affect scripts like start.sh used in Docker containers.

Before cloning the repository, configure Git to prevent automatic conversion of line endings.

git config --global core.autocrlf false

License

Licensed under either of

at your option.

Community

WeChat Group

Contribution

We welcome every contributor, both in terms of code and documentation.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.