new
This commit is contained in:
parent
893c754868
commit
37e19fa160
176
README.md
176
README.md
@ -1,53 +1,123 @@
|
||||
<img width="40%" alt='OrangeHRM' src='https://raw.githubusercontent.com/wiki/orangehrm/orangehrm/logos/logo.svg#gh-light-mode-only'/><img width="40%" alt='OrangeHRM' src='https://raw.githubusercontent.com/wiki/orangehrm/orangehrm/logos/logo_dark_mode.svg#gh-dark-mode-only'/>
|
||||
|
||||
[![Docker Pulls](https://img.shields.io/docker/pulls/orangehrm/orangehrm.svg)](https://hub.docker.com/r/orangehrm/orangehrm) [![SourceForge Downloads](https://img.shields.io/sourceforge/dm/orangehrm.svg)](https://sourceforge.net/projects/orangehrm/) [![SourceForge Downloads](https://img.shields.io/sourceforge/dt/orangehrm.svg)](https://sourceforge.net/projects/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
|
||||
|
||||
<a href="https://play.google.com/store/apps/details?id=com.orangehrm.opensource" target="_blank">
|
||||
<img height="54" alt='Get it on Google Play'
|
||||
src='https://raw.githubusercontent.com/wiki/orangehrm/orangehrm/mobile/play_store_cropped_en_US_2022_08_04.png'/>
|
||||
</a>
|
||||
<a href="https://apps.apple.com/us/app/orangehrm/id1527247547" target="_blank">
|
||||
<img height="54" alt='Download on the App Store'
|
||||
src='https://raw.githubusercontent.com/wiki/orangehrm/orangehrm/mobile/app_store_en_US.svg'/>
|
||||
</a>
|
||||
|
||||
## 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
|
||||
## 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
|
||||
|
||||
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
|
||||
|
||||
```
|
||||
|
||||
## 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
|
||||
|
||||
<a href="https://play.google.com/store/apps/details?id=com.orangehrm.opensource" target="_blank">
|
||||
<img height="54" alt='Get it on Google Play'
|
||||
src='https://raw.githubusercontent.com/wiki/orangehrm/orangehrm/mobile/play_store_cropped_en_US_2022_08_04.png'/>
|
||||
</a>
|
||||
<a href="https://apps.apple.com/us/app/orangehrm/id1527247547" target="_blank">
|
||||
<img height="54" alt='Download on the App Store'
|
||||
src='https://raw.githubusercontent.com/wiki/orangehrm/orangehrm/mobile/app_store_en_US.svg'/>
|
||||
</a>
|
||||
|
||||
## 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
|
||||
|
42
docker-compose.yaml
Normal file
42
docker-compose.yaml
Normal file
@ -0,0 +1,42 @@
|
||||
version: "3.3"
|
||||
|
||||
services:
|
||||
|
||||
orangehrm:
|
||||
image: orangehrm/orangehrm:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8200:80"
|
||||
- "8210:443"
|
||||
environment:
|
||||
- ORANGEHRM_DATABASE_HOST=mariadb
|
||||
- ORANGEHRM_DATABASE_USER=root
|
||||
- ORANGEHRM_DATABASE_PASSWORD=orangehrm
|
||||
- ORANGEHRM_DATABASE_NAME=orangehrm
|
||||
- PUID=998
|
||||
- PGID=100
|
||||
volumes:
|
||||
- ./orange:/orangehrm
|
||||
- ./:/var/www/html/
|
||||
depends_on:
|
||||
- mariadb
|
||||
links:
|
||||
- mariadb:mariadb
|
||||
|
||||
mariadb:
|
||||
image: mariadb:10.2
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./db_orange:/var/lib/mysql
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=orangehrm
|
||||
- MYSQL_ROOT_USER=root
|
||||
- MYSQL_DATABASE=orangehrm
|
||||
|
||||
phpmyadmin:
|
||||
image: phpmyadmin
|
||||
restart: always
|
||||
ports:
|
||||
- 8300:80
|
||||
environment:
|
||||
- PMA_ARBITRARY=1
|
Binary file not shown.
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 25 KiB |
Binary file not shown.
Before Width: | Height: | Size: 317 KiB After Width: | Height: | Size: 487 KiB |
Binary file not shown.
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 9.5 KiB |
Loading…
Reference in New Issue
Block a user