ext-template icon indicating copy to clipboard operation
ext-template copied to clipboard

Discussion for improvement plugin development on docker

Open kczereczon opened this issue 2 years ago • 5 comments

I found development plugin on docker with process described in description is very slow. Is there any possibility how to speed up development. Building site inside docker takes ~30 min on pc with bad performance. If you have an idea how to make it faster I would try to make implementation of it.

My current attempt:

  1. Create docker-compose with custom dockerfile with needed libraries for running espo (php and node)
  2. Using commands described in description

What I want to try:

  1. Create new docker image like https://github.com/espocrm/espocrm-docker but instead of containing built Espo it would contain full Espo from github with all dev needed stuff (npm build dev)
  2. Create docker-compose with mapping src to custom/Module and client/custom/module

kczereczon avatar Dec 28 '22 14:12 kczereczon

I don't know about any possibility. It usually needed only once to built. It takes a few minutes, my PC is 10 year old.

yurikuzn avatar Dec 28 '22 14:12 yurikuzn

on docker also?

kczereczon avatar Dec 28 '22 14:12 kczereczon

No.

yurikuzn avatar Dec 28 '22 14:12 yurikuzn

Without docker site is building quite fast but on docker it really painful, same with node build.js --copy

kczereczon avatar Dec 28 '22 14:12 kczereczon

Maybe you need to tweak something. Copying files should not take that long.

yurikuzn avatar Dec 28 '22 14:12 yurikuzn