| 02:57 | * | JustTB1 has joined |
| 02:59 | * | JustTB has quit (Ping timeout: 272 seconds) |
| 10:59 | * | JustTB1 has quit (Ping timeout: 260 seconds) |
| 11:15 | * | JustTB has joined |
| 12:11 | * | JustTB has quit (Ping timeout: 256 seconds) |
| 12:25 | * | JustTB has joined |
| 12:49 | shmida[m] | <mstenta[m] "github.com/mstenta/farm_"> thanks! |
| 12:54 | shmida[m] | I just completed install the FarmOS on Docker desktop for Windows. how shold I work? one prod containers for real data and second dev containers for triyng things out? there is any differance between the dev containers and the prod containers? |
| 12:57 | shmida[m] | another quastion, on the general map area, when I replace the mapbox some with google maps, it gives me this error: "Oops! Something went wrong. `This page didn't load Google Maps correctly. See the JavaScript console for technical details.` is it because the google map API key i entered was not correct? or any other reson? |
| 12:58 | mstenta[m] | shmida: the `farmos/farmos:dev` image inherits from the `farmos/farmos:7.x-1.x` image, and adds the following on top: |
| 12:58 | mstenta[m] | - Installs XDebug |
| 12:58 | mstenta[m] | - Installs Drush |
| 12:58 | * | sent a long message: < matrix.org/_matrix/media/r0/download/mat > |
| 12:59 | mstenta[m] | Do you know how to check your browser's console? |
| 12:59 | mstenta[m] | It is probably an API key issue |
| 12:59 | mstenta[m] | developers.google.com/maps/documentation |
| 13:00 | shmida[m] | thanks alot i will chek |
| 13:00 | shmida[m] | is it important to know drush for devoloping in drupal? |
| 13:00 | mstenta[m] | no, but it is helpful |
| 13:01 | mstenta[m] | it is just a command line tool with features for enabling modules, clearing caches, etc |
| 13:01 | mstenta[m] | but those things can be done through the Drupal UI without Drush too |
| 13:02 | mstenta[m] | we also use Drush Make to build the farmOS 7.x-1.x codebase... but you most likely won't need to mess with that at all |
| 13:02 | mstenta[m] | In farmOS 2.x we are using Composer... so Drush Make is deprecated |
| 13:04 | shmida[m] | grate! I used Farmos before without Docker and it was a mistake (database issues), now I hope it will be better. hope i could help with this grate project. im a vegetable grower from israel that start to code |
| 13:05 | mstenta[m] | awesome! |
| 14:56 | * | skalakm[m] has joined |
| 15:04 | skalakm[m] | Hi, I'm trying to set up a custom farmos instance. I know how to do it through the drupal/farmos gui, but I would like to do it through an automated process e.g. a bash script. Can you point me in the diriection? If it matters, I need to change the file system setup, install custom modules, and import a bunch of data from csv files. |
| 15:06 | mstenta[m] | Hi skalakm |
| 15:06 | mstenta[m] | Did you see my previous replies, by any chance? |
| 15:09 | skalakm[m] | In the IRC? Sorry, no. FreeNode has been uncooperative. I wasn't even sure I had successfully posted there. |
| 15:09 | skalakm[m] | I see it here now. |
| 15:09 | skalakm[m] | I'll try what you said. |
| 15:09 | mstenta[m] | Oh no worries - yes I replied to both your previous questions. We actually have this chat bridged to IRC and it is being logged on irc.farmos.org - or you can scroll up in the Matrix chat |
| 15:10 | mstenta[m] | Cool! |
| 15:10 | mstenta[m] | Yea, I think Drush will be your friend :-) |
| 15:10 | mstenta[m] | Are you running farmOS in Docker? |
| 15:11 | mstenta[m] | If so, I would recommend extending the farmOS base image with your own Dockerfile and installing Drush in it... you can basically just copy these lines from the `farmos/farmos:dev` image: github.com/farmOS/farmOS/blob/d28b681056 |
| 15:11 | skalakm[m] | I've run it both in docker and a MAMP setup. My plan was to try to get the automation it to work locally with mamp before trying it on docker. Is that a good plan? |
| 15:11 | mstenta[m] | Then you will be able to run Drush directly in the container with `sudo docker exec -it farmos_www_1 drush ...` |
| 15:12 | mstenta[m] | Up to you - I always recommend Docker because then you don't have to worry about dependencies/incompatabilities |
| 15:13 | mstenta[m] | We only "officially" support the Docker setup... otherwise you may find yourself digging through Drupal search results to resolve problems specific to your platform (but not specific to farmOS) |
| 15:13 | mstenta[m] | I can/do help with those when I'm able... but no guarantees ;-) |
| 15:20 | skalakm[m] | Thanks a lot. I'll just go straight to Docker. If I use the Docker dev compose file, drush should come with it right? |
| 15:21 | mstenta[m] | Yes that's correct |
| 15:21 | mstenta[m] | But I wouldn't advise using that image in production because it includes XDebug |
| 15:24 | skalakm[m] | Makes sense. Thanks for all the help. I'll give it a go this afternoon. |
| 15:25 | mstenta[m] | Good luck! |
| 15:25 | mstenta[m] | Also if you haven't seen already, check out the forum: farmOS.discourse.group |
| 15:25 | mstenta[m] | Are you working with Allen and Matt at Dickinson? |
| 15:26 | mstenta[m] | Migrating from FarmData to farmOS? |
| 15:26 | mstenta[m] | I suggested to Allen that we start a post about FarmData on the farmOS forum so that others who are/were using FarmData can follow along |
| 15:28 | skalakm[m] | Yeah I'm with that group. I'm not sure there's a whole lot to follow along at this point. |
| 15:28 | mstenta[m] | Cool - well if that changes feel free to make a post |
| 15:29 | mstenta[m] | I spent some time with Allen in github.com/farmOS/farmOS/issues/199 |
| 15:29 | skalakm[m] | That's not fair now that I wrote it, but we've had some struggles. I'll put one up once I talk to Allen again. |
| 15:30 | skalakm[m] | Since you've been talking with him... all the import stuff he's been doing can be with drush? |
| 15:32 | mstenta[m] | Good question: I've never used Drush for CSV imports - it depends on whether or not the Feeds module has Drush integration |
| 15:32 | mstenta[m] | www.drupal.org/project/feeds/ |
| 15:33 | mstenta[m] | Looks like it does! git.drupalcode.org/project/feeds/-/blob/ |
| 15:34 | mstenta[m] | Once you get Drush installed, just run `drush help` to list all the available commands - you should see some `feeds-*` commands there |
| 15:34 | mstenta[m] | I've never done it myself, though, so I probably can't help much beyond that |
| 15:35 | skalakm[m] | As long I'm working in the right place you've help plenty already. Thanks again. |
| 21:34 | * | JustTB has quit (Quit: Leaving.) |