## Nodejs yarn ``` curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash - sudo apt-get install -y nodejs sudo apt-get install gcc g++ make curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list sudo apt-get update && sudo apt-get install yarn ``` ## php composer ``` docker compose exec orangehrm bash cd src php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" php composer-setup.php mv composer.phar /usr/local/bin/composer rm composer-setup.php composer install ``` ## 目录权限 ``` docker compose exec orangehrm bash rm -rf /var/www/html/src/cache/* chown -R www-data:www-data /var/www/html/lib/confs/ chown -R www-data:www-data /var/www/html/src/cache/ chown -R www-data:www-data /var/www/html/src/log/ exit ``` ## 重新安装 ``` sudo rm lib/confs/Conf.php docker compose exec orangehrm php ./bin/console orm:generate-proxies docker compose exec orangehrm php ./bin/console cache:clear ``` ## oxd 样式 ``` cd src/client npm uninstall git+https://git.kongjian.xin:8443/YBY/oxd.git rm -rf node_modules/@ohrm/oxd/ yarn install yarn build ``` ## Install ``` mariadb root orangehrm ``` # OrangeHRM Starter Application OrangeHRM is a comprehensive Human Resource Management (HRM) System that captures all the essential functionalities required for any enterprise. Copyright (C) 2006 OrangeHRM Inc., http://www.orangehrm.com/ OrangeHRM is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. OrangeHRM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. ## Getting started - Download the latest version of OrangeHRM Starter [here](https://sourceforge.net/projects/orangehrm/files/latest/download). - Prerequisites and environment set up for installing OrangeHRM Starter: - [Install on Linux](https://starterhelp.orangehrm.com/hc/en-us/articles/6187572000540-Prerequisites-for-installing-OrangeHRM-Starter-in-Linux) - [Install on Windows](https://starterhelp.orangehrm.com/hc/en-us/articles/6187576427804-Prerequisites-for-installing-OrangeHRM-Starter-in-Windows) - Install OrangeHRM using the web installer: - [OrangeHRM Starter Installation Guide](https://starterhelp.orangehrm.com/hc/en-us/articles/5295915003666-OrangeHRM-Starter-Installation-Guide) - [OrangeHRM Starter Upgrade Guide](https://starterhelp.orangehrm.com/hc/en-us/articles/6937346912402-OrangeHRM-Starter-Upgrade-Guide-For-5x-versions-) - For further information on how to use the product please refer to the User Guides, Tutorial videos, and FAQs available on [Help Portal](https://starterhelp.orangehrm.com) ## OrangeHRM Mobile App Get it on Google Play Download on the App Store ## Resources ### Demo Live demo is available at : https://opensource-demo.orangehrmlive.com ### Releases Sourceforge : https://sourceforge.net/p/orangehrm ### Website https://www.orangehrm.com/ ## Help & Support Submit your help requests through [OrangeHRM Help Portal](https://starterhelp.orangehrm.com/hc/en-us/requests/new) or Email to [ossupport@orangehrm.com](mailto:ossupport@orangehrm.com) ## License GNU General Public License