forklift icon indicating copy to clipboard operation
forklift copied to clipboard

Directions for Plugin Development setup

Open jrich523 opened this issue 7 years ago • 3 comments

Looking to do some plugin dev and it appears that this setup wasnt really specifically designed for that. Is that something that can be added?

jrich523 avatar Jul 16 '18 20:07 jrich523

You could have a look at luna-devel. which you can base yourself on.

ekohl avatar Jul 26 '18 10:07 ekohl

@ekohl just out of curiosity, why? I've been talking to the folks in the irc channel and have been making some (painful) progress.

At this point im using the centos7-devel, but its rather heavy for just plugin dev. how is the luna different?

jrich523 avatar Jul 26 '18 15:07 jrich523

At this point im using the centos7-devel, but its rather heavy for just plugin dev. how is the luna different?

I'd say luna is even heavier because there's additional plugins. I don't think we have a good playbook for a vanilla Foreman without Katello and its dependencies. I've never automated this because it's very few steps. See https://theforeman.org/contribute.html#Setupdevelopmentenvironment

It would be interesting to also set up a proxy in development mode and register it but that's one API call after you've started the server.

ekohl avatar Jul 26 '18 15:07 ekohl