Create LMS APP
Development version
Installation
Assuming
- you're on MacOS or Linux
- you have
docker
& docker-composer
installed - port 80 is free
You have the following options
Installation from script
Run npx --package=@escolalms/cla lms
Installation from source
Clone this repository then,
in order to launch LMS
run make init
shell script
First steps
Once everything is installed (takes a while)
Troubleshooting
- please create issue in this repository
- Windows users - this package is not tested on your system.
Custom domains
Scaling php-fpm, Horizon & Scheduler.
By default all 3 threads phpfpm, Laravels Horizon and Scheduler are severed by one image container
All of above including nginx are served by supervisor
, definition files are listed here
You can scale this by setting each process into separate image container, just by amending docker-compose.yml
in the following way
api:
image: escolalms/api:latest
networks:
- escola_lms
volumes:
- ./emptyfile.conf:/etc/supervisor/custom.d/horizon.conf
- ./emptyfile.conf:/etc/supervisor/custom.d/scheduler.conf
- ./storage:/var/www/html/storage
- ./.env:/var/www/html/.env
horizon:
image: escolalms/api:latest
networks:
- escola_lms
volumes:
- ./emptyfile.conf:/etc/supervisor/custom.d/scheduler.conf
- ./emptyfile.conf:/etc/supervisor/custom.d/nginx.conf
- ./storage:/var/www/html/storage
- ./.env:/var/www/html/.env
scheduler:
image: escolalms/api:latest
networks:
- escola_lms
volumes:
- ./emptyfile.conf:/etc/supervisor/custom.d/horizon.conf
- ./emptyfile.conf:/etc/supervisor/custom.d/nginx.conf
- ./storage:/var/www/html/storage
- ./.env:/var/www/html/.env