Re: dev environment setup

Brian Cipriano
 

Hi Donal,

Thanks for sharing this!

How do you set up your development environments?

My personal setup depends on what I'm working on.

I run a local Postgres instance, installed via Homebrew.

If I'm doing work on Cuebot, I've got IntelliJ set up with a Run Configuration to run CuebotApplication, with some Program arguments to point it to my local postgres instance.

If I'm working on any of the Python components, my process looks like:
- Run Cuebot either a) via IntelliJ as above or b) (more typically) via Docker
- Activate whichever virtualenv I plan to use
- Execute the Python code directly from my local checkout, using the CUEBOT_HOSTS env var to point it to my local Cuebot instance.
- I use PyCharm locally and will sometimes set up Run configurations in there to execute the module in question, which lets me use things like PyCharm's built-in debugger.

Happy to go into more detail on any of this if desired.

- brian


On Sun, May 26, 2019 at 6:46 AM Donal McMullan <donal.mcmullan@...> wrote:
I added some scripts to help myself get started with development on the repo:

Specifically I wanted some bootstraps to create a development environment for new users, and then to launch the applications directly from that environment without any intermediate step (like running installers, etc).

How do you set up your development environments?

Thanks

DJM

Join opencue-dev@lists.aswf.io to automatically receive all group messages.