Pythagorean OA is a practical open source enterprise office system based on ThinkPHP6 + Layui + MySql. It can be used out of the box. Using Pythagorean OA, you can easily and quickly build an enterprise-level office automation system. The office automation system is the most frequently used application system by employees and managers. It can greatly improve the company's office efficiency. We are determined to provide open source and easy-to-use office automation systems for small and medium-sized enterprises to help enterprises save the cost of digital and information-based offices.
1. Each functional module of the system is clear at a glance and easy to operate; a universal background authority management framework, full coverage and tracking of employee operation records, following the trend, extremely low threshold, and ready to use out of the box.
2. The system integrates basic modules such as system setup, personnel management, administrative management, message management, corporate announcements, knowledge base, approval process setup, office approval, daily office, financial management, customer management, contract management, project management, and task management. . .
3. The system is convenient for secondary development, easy for function expansion and code maintenance, and meets the needs of focusing on in-depth business development.
4. Developers can quickly conduct secondary development based on this system, eliminating the pain of writing a system architecture and helping developers to efficiently reduce development costs. After secondary development, it can be used for corporate offices such as CRM, ERP, and project management. system.
The system background integrates mainstream common functions, such as: login verification, system configuration, operation log management, role permissions, job titles, function menu, module management, keyword management, file upload, data backup/restore, basic data, and approval process , employee management, message notifications, corporate announcements, knowledge articles, office approval, daily office work, financial management, API interfaces, etc. More personalized functions can be easily developed based on the current system.
1. Server.
Server minimum configuration
1-core CPU (2-core+ recommended)
1G memory (4G+ recommended)
1M bandwidth (3M+ recommended)
Server operating environment requirements
PHP >= 7.2.5 (7.4 recommended)
Mysql >= 5.5.0 (need to support innodb engine)
Apache or Nginx
PDO PHP Extension
MBstring PHP Extension
CURL PHP Extension
Composer (for managing third-party extension packages)
2. System installation
Command line installation (recommended)
It is recommended to use the command line installation, because the command line installation method can keep the updates synchronized with Pythagorean OA at any time. Please prepare Git and Composer in advance to use the command line installation.
Under Linux, please use the following command to install Pythagorean OA.
Step 1: Download Pythagorean OA to your local computer
Step 2: Enter the directory
cd gouguoa (root directory where the file is located)
Step 3: Download PHP dependency package
composer install
Step 4: Add a virtual host and bind it to the public directory of the project. In actual deployment, make sure that the bound domain name accesses the public directory. (This step is very important, many people make mistakes)
Step 5: Pseudo-static configuration (this step is also very important, many people make mistakes)
Nginx modify the nginx.conf configuration file and add the following statement.
location / { if (!-e $request_filename){ rewrite ^(.*)$ /index.php?s=$1 last; break; } }Apache saves the following content as a .htaccess file and places it in the same directory as the application's public file.
Step 6: Visit http://www.yourdomain.com/install/index to install (visiting the main domain name will automatically jump to the installation connection)
Note: During the installation process, the system will automatically create a database. Please ensure that the database user you fill in has the permissions to create the database. If the permissions are insufficient, please manually create an empty database first, and then fill in the newly created database name and user name to complete the installation. .
Reminder: During the installation process, if the progress bar is stuck, it is usually a problem with the database write permission or the installation environment configuration. Please check it carefully.
1. The installation failed. There may be a PHP configuration file that prohibits the putenv and proc_open functions. The solution is to find the location of the php.ini file, open php.ini, and search for the disable_functions item to see if the putenv and proc_open functions are disabled. If it is in the disabled list, remove putenv proc_open and exit, then restart PHP.
2. If a 404 error is displayed when opening the page after installation, please check the pseudo-static configuration of the server. If it is a pagoda panel and the website is pseudo-static, please configure and use thinkphp rules.
3. If it prompts that the current permissions are insufficient and the configuration file config/database.php cannot be written, please check whether database.php is readable. It is also possible that the current installation program cannot access the parent directory. Please check PHP's open_basedir configuration.
4. If composer install fails, please try to switch the configuration to the domestic source on the command line. The command is as follows composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/.
5. Visit http://www.yourdomain.com/install/index, please pay attention to check the pseudo-static and configure whether thinkphp rules are set.