IRC logs for #farmOS, 2024-07-21 (GMT)

2024-07-20
2024-07-22
TimeNickMessage
[11:21:39]<farmBOT>@farmOS@fosstodon.org => #farmOS 3.2.3 has been released! https://github.com/farmOS/farmOS/releases/3.2.3 => https://fosstodon.org/@farmOS/112824915882317242
[16:02:16]* alex_has_a_sandwich[m] has joined #farmos
[16:02:17]<alex_has_a_sandwich[m]>can I run FarmOS without Docker?
[16:02:27]<mstenta[m]>Yes
[16:03:01]<mstenta[m]>It is Drupal. So all the various ways of hosting Drupal is possible.
[16:03:05]<mstenta[m]>s/is/are/
[16:03:11]<alex_has_a_sandwich[m]>10 4
[16:03:27]<mstenta[m]>I would personally recommend using Composer.
[16:03:27]<alex_has_a_sandwich[m]>thanks
[16:03:41]<mstenta[m]>We have official documentation for that here: https://farmos.org/hosting/composer/
[16:04:03]<mstenta[m]>But you can also download "packaged releases" which are basically a tarball that you unpack into an Apache docroot.
[16:04:26]<mstenta[m]>Documentation here: https://farmos.org/hosting/install/#packaged-releases
[16:05:00]<mstenta[m]>The benefit of Docker is it encapsulates ALL of the dependencies and configuration and is guaranteed to work out of the box.
[16:06:05]<mstenta[m]>When you are using packaged releases or composer you are responsible for setting up all the dependencies (Apache, PHP, GEOS, PostgreSQL, etc)
[16:06:50]<mstenta[m]>If you need to see how the Docker image is set up, it is pretty well documented in comments: https://github.com/farmOS/farmOS/blob/3.x/docker/Dockerfile
[16:07:08]<alex_has_a_sandwich[m]>So the postgres instance is inside the Docker container already?
[16:07:26]<mstenta[m]>(although it inherits from the official Drupal image, which inherits from PHP, etc and those layers handle the lower level stuff)
[16:07:27]<mstenta[m]>No
[16:07:48]<mstenta[m]>The farmOS Docker image is essentially an Apache image with farmOS code prebuilt
[16:08:09]<mstenta[m]>You have to provide a database, either via another Docker container or on a remote server.
[16:09:06]<mstenta[m]>I would also recommend joining the forum - there are a bunch of topics by people installing outside of Docker, and their findings/troubleshooting/etc: https:/farmOS.discourse.group
[16:12:02]<mstenta[m]>Here is a recent one: https://farmos.discourse.group/t/packaged-farmos-install-on-ubuntu/2079
[16:12:33]<mstenta[m]>(This is not officially endorsed/tested/supported 😄)
[16:13:20]<alex_has_a_sandwich[m]>mstenta[m]: this could be helpful thanks
[16:13:30]<alex_has_a_sandwich[m]>i guess i just need to learn more about Drupal and Docker
[16:13:31]<mstenta[m]>https://farmos.org/hosting/install is the official docs
[16:14:03]<alex_has_a_sandwich[m]>they seem foreign compared to other web frameworks
[16:14:20]<alex_has_a_sandwich[m]>to me anyways
[16:14:20]<mstenta[m]>Yea Docker is another layer, but it is soooo worth it :-)
[16:15:07]<alex_has_a_sandwich[m]>imma try to get on the bandwagon
[16:15:29]<mstenta[m]>Setting up a local farmOS development environment is an easy way to dip you toe in!
[16:15:39]<mstenta[m]>https://farmos.org/development/environment/
[16:15:43]<alex_has_a_sandwich[m]>that is the plan
[16:16:09]<mstenta[m]>^ That page documents how to do that. You just need to install Docker first, but then it's simple.
[16:16:11]<alex_has_a_sandwich[m]>but i couldn't make the step 1 commands work
[16:17:03]<mstenta[m]>https://docs.docker.com/engine/install/
[16:17:16]<mstenta[m]>^ That documents installing Docker :-)
[16:17:39]<mstenta[m]>Are you on Linux/Mac/Windows?
[16:18:17]<mstenta[m]>All of this is well tested on Linux. YMMV w/ Windows/Mac.
[16:19:51]<alex_has_a_sandwich[m]>debian
[16:20:44]<mstenta[m]>great! you shouldn't have any trouble
[16:20:51]<mstenta[m]>the Docker image is based on Debian
[16:21:47]<alex_has_a_sandwich[m]>yeah i shouldn't lol