Socket
Socket
Sign inDemoInstall

@escolalms/cla

Package Overview
Dependencies
Maintainers
4
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@escolalms/cla

Create LMS APP. Escola LMS. Wellms.


Version published
Weekly downloads
7
increased by40%
Maintainers
4
Weekly downloads
 
Created
Source

Create LMS APP

Development version

Installation on MacOs or Linux

Requirements

  • you have docker & docker-composer installed
  • port 80 is free

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

Instalation on Windows

Requirements

  • WSL installed (https://docs.microsoft.com/en-us/windows/wsl/install)
  • Docker installed (https://docs.docker.com/desktop/windows/install/) and configured to use WSL
  • make available in PowerShell (for example, you can install Chocolatey https://chocolatey.org/install and then install make using it)

Recommended: use Windows Terminal (https://apps.microsoft.com/store/detail/windows-terminal/) and latest PowerShell (https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.2)

Installation from source

  • Clone this repository
  • Run make init in PowerShell (and not in WSL shell, because it will lead to problems with binding Postgres data volume for persistence)

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

# NOTE binding emptyfile.conf disable supervisor service

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
    #      - ./emptyfile.conf:/etc/supervisor/custom.d/nginx.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/horizon.conf
    - ./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/scheduler.conf
    - ./emptyfile.conf:/etc/supervisor/custom.d/nginx.conf
    - ./storage:/var/www/html/storage
    - ./.env:/var/www/html/.env

Keywords

FAQs

Package last updated on 14 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc