Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discussion for improvement plugin development on docker #13

Open
kczereczon opened this issue Dec 28, 2022 · 5 comments
Open

Discussion for improvement plugin development on docker #13

kczereczon opened this issue Dec 28, 2022 · 5 comments

Comments

@kczereczon
Copy link

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 kczereczon changed the title Discussion for improvement plugin development Discussion for improvement plugin development on docker Dec 28, 2022
@yurikuzn
Copy link
Collaborator

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.

@kczereczon
Copy link
Author

on docker also?

@yurikuzn
Copy link
Collaborator

No.

@kczereczon
Copy link
Author

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

@yurikuzn
Copy link
Collaborator

yurikuzn commented Dec 28, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants