IRC logs for #farmOS, 2021-10-29 (GMT)

2021-10-28
2021-10-30
TimeNickMessage
[20:07:48]* cosine has quit (Quit: 1)
[20:08:00]* cosine has joined #farmos
[23:18:25]* jonasbits has quit (Ping timeout: 252 seconds)
[23:24:11]* jonasbits has joined #farmos
[11:09:16]* farmBOT has joined #farmos
[12:00:08]* jubhamayala[m] has quit (Quit: You have been kicked for being idle)
[14:33:35]<shane_aldrich[m]>> <@mstenta:matrix.org> > just noticed, it looks like they didn't an entry in the menu...
[14:33:36]<shane_aldrich[m]>>
[14:33:36]<shane_aldrich[m]>> ah good eye paul121 - i'll push a fix for that now...
[14:33:36]<shane_aldrich[m]>Is there a patch for this now?
[14:34:04]<shane_aldrich[m]><mstenta[m]> "our recommendation should always..." <- Is this something I can grab today?
[14:35:07]<mstenta[m]>That was just for the documentation on docs.farmos.org, to include menu links to the quick form and data stream doc pages
[14:35:21]<mstenta[m]>It's been fixed so those are visible on docs.farmos.org now
[14:35:30]<shane_aldrich[m]>OK.
[14:35:42]<mstenta[m]>We don't have a dev tarball
[14:36:03]<mstenta[m]>I was pondering if we should add one
[14:36:28]<shane_aldrich[m]>Can I use `composer` to get `phpcs` and phpcbf` working properly?
[14:36:40]<shane_aldrich[m]>* `phpcs` and `phpcbf` working
[14:36:46]<mstenta[m]>Probably?
[14:37:18]<mstenta[m]>I've never had to do that
[14:37:28]<shane_aldrich[m]>I can probably find out how to do that. Is it still based on `squizlabs`?
[14:38:35]<mstenta[m]>You should probably try to stick to the way our Docker image works as closely as possible
[14:40:02]<shane_aldrich[m]>I'm starting to think I should try to go back to Docker in a completely Windows environment and see if the performance has improved since the last time I tried to use it.
[14:40:04]<mstenta[m]>I'm hesitant to send you down a rabbit hole haha
[14:40:34]<mstenta[m]>It would be a lot simpler if you could use Docker 😅
[14:40:45]<mstenta[m]>We've already solved all these problems
[14:41:12]<mstenta[m]>But I really can't speak to Windows at all - sorry :-(
[14:42:18]<shane_aldrich[m]>Cool. I'll dive into that today. Waiting for a plumber to show up and fix our kitchen sink right now. It's been down for the last 3 days. Yesterday I was trying to fix 3 batteries for the DJI Phantom 4 drone a friend gave me. No luck there. So I had to buy new ones from Amazon.
[14:43:45]<mstenta[m]>FWIW the dev docker image basically runs `composer install` without the `--no-dev` flag... so dependencies declared in the `require-dev` block get pulled in
[14:44:25]<mstenta[m]>including `drupal/core-dev`, which is what includes phpcs i believe
[14:44:45]<mstenta[m]>so you might also be able to do `composer require drupal/core-dev`...
[14:44:50]<shane_aldrich[m]>Sweet! Are you developing in Linux or MacOS?
[14:44:52]<mstenta[m]>but there are also some things you need to configure
[14:44:56]<mstenta[m]>100% linux
[14:45:24]<shane_aldrich[m]>So I definitely need to do some digging to make sure I set this up right on Windows.
[14:45:43]<mstenta[m]>Yea you're on your own I'm afraid :-/
[14:45:51]<mstenta[m]>But I know there are others who have done this...
[14:46:00]<mstenta[m]>It might be worth creating a dedicated Windows thread in the forum
[14:46:10]<mstenta[m]>to document your findings
[14:46:44]<shane_aldrich[m]>No worries! I got the WSL2, LEMP stack and PhpStorm working on my own. I can figure this out too! I'll keep notes and then share them with the forum once I know it works properly.
[14:47:20]<shane_aldrich[m]>Time to prepare for the plumber.
[14:47:36]<mstenta[m]>Cool! Good luck!
[14:47:57]<mstenta[m]>I gotta run - kindergarten pickup time approaches and I have to get some things wrapped up!
[14:47:58]<mstenta[m]>ttyl
[17:20:23]<shane_aldrich[m]>ACTION uploaded an image: (65KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/uDEieImRytf... >
[17:20:49]<shane_aldrich[m]>Easy to install. Seems to run just fine. However, I don't see the GIN theme available.
[17:41:26]<shane_aldrich[m]>Can't use `drush` anymore with the Docker container. I tried to install `config_update_ui` using that command and there is no `/vendor/bin` directory.
[17:41:59]<paul121[m]>It looks like you have farmOS 1.x running :-)
[17:42:31]<shane_aldrich[m]>I used the method on farmos.org for Docker. Is there a different way to go about it?
[17:42:49]<paul121[m]>Sorry, those docs are still for 1.x
[17:43:10]<shane_aldrich[m]>Aaah!
[17:43:13]<paul121[m]>https://docs.farmos.org/development/environment/docker/
[17:43:30]<paul121[m]>actually, start here: https://docs.farmos.org/development/environment/
[17:44:38]<shane_aldrich[m]>Cool. I'll `rm -rf` my site and start over. Unless there is something else I need to worry about using Docker...
[17:45:08]<paul121[m]>nope, that should be fine
[17:45:13]<shane_aldrich[m]>Besides stopping and deleting the container from Docker Desktop
[17:45:21]<paul121[m]>it does look like docker is running fine!
[17:45:38]<paul121[m]>yeah you can rm `www` `db` and that old `docker-compose.yml`
[17:46:29]<shane_aldrich[m]>Done. Starting over now.
[17:48:19]<shane_aldrich[m]>Pulling now. I totally forgot about the 2.x docs. I went through this process a long time ago.
[17:50:04]<paul121[m]>well, its just as good for testing your docker setup :P
[17:50:06]<shane_aldrich[m]>Any advice on PhpStorm?
[17:50:40]<paul121[m]>No, don't think so. It works pretty well out of the box
[17:51:07]<paul121[m]>Those docs mention HTTPS and xdebug but I wouldn't worry about configuring those
[17:51:56]<shane_aldrich[m]>I was just wondering if Docker needed any other configuration.
[17:52:09]<paul121[m]>nope!
[17:52:22]<paul121[m]>I don't bother with the Phpstorm docker (or composer) integrations
[17:52:32]<shane_aldrich[m]>Installing now.
[17:52:35]<paul121[m]>I just use the terminal, works pretty well
[17:56:53]<shane_aldrich[m]>That's what I'm doing as well. Docker Desktop is just a good visual to know it's running.
[18:16:57]<paul121[m]>ah yep
[18:52:21]<paul121[m]>get it going shane_aldrich ?
[19:33:43]<shane_aldrich[m]>I did. Had to prep dinner. Next is configuring PhpStorm to point to the right directories (since it's different using Docker) and find out where quick forms are located. That will happen tomorrow while I make sourdough hoagie rolls. Then I can get back at it Sunday and Monday.
[19:34:45]<shane_aldrich[m]>Making Thai Lemon Beef with Buddah's Hand over ramen tonight
[19:47:43]<paul121[m]>yum! have a great weekend!