https://github.com/gitrust/simpleplan
a simple PHP web application to plan/manage team resources
https://github.com/gitrust/simpleplan
mysql php php7 resource-management resource-planner
Last synced: 6 days ago
JSON representation
a simple PHP web application to plan/manage team resources
- Host: GitHub
- URL: https://github.com/gitrust/simpleplan
- Owner: gitrust
- License: mit
- Created: 2020-06-14T21:01:22.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-27T12:53:22.000Z (almost 5 years ago)
- Last Synced: 2023-11-01T19:33:10.256Z (about 2 years ago)
- Topics: mysql, php, php7, resource-management, resource-planner
- Language: PHP
- Homepage:
- Size: 804 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# simpleplan
a simple PHP app to plan team resources
Used PHP framework is based on sources of simple mvc
# Requirements
- PHP 7
- MySQL 5.7
- Install tFPDF (https://github.com/rev42/tfpdf/blob/master/src/tFPDF.php)
# Configuration
- Check and adapt initial configuration in `public/config.php`
- Setup a MySQL database and initialize with data from `sql/` folder
# Play around in docker
## Install docker
### Docker-Toolbox for Windows
* Download Docker-Toolbox for windows
* chose NDIS 5 driver during installation
* set up your PATH environment properly
#### Setup docker environment
Type in DOS console before using docker commands
@FOR /f "tokens=*" %i IN ('"C:\Program Files\Docker Toolbox\docker-machine.exe" env default') DO @%i
#### Setup VirtualBox Shared folder
Create a shared folder in VirtualBox for "default" image
docker-machine stop
vboxmanage sharedfolder add default --name "projectname" --hostpath "c:\users\username\myproject" --automount
docker-machine start
#### Shared folder
use that shared folder in your docker compose file:
volumes:
- /projectname:/some/dir/in/container/project_name
### or Docker for Windows
* install Docker for Windows
### Docker configuration
Create your docker-compose environment file ".env" in `docker` directory
* initialize `WWW_FOLDER` variable
* initialize `SQL_SCRIPTS_FOLDER` variable