How to Install Groceri.es on EndeavourOS Latest

Groceri.es is an open-source self-hosted grocery list manager that you can install on your own server. In this tutorial, we will explain how to install Groceri.es on EndeavourOS, a rolling release Linux distribution based on Arch Linux.

Prerequisites

Before you start, make sure your EndeavourOS system is up-to-date and has the following software installed:

If you don't have Docker and Docker Compose installed on your system, you can follow these instructions to install them:

Installing Docker

To install Docker on EndeavourOS, you can use the following commands:

sudo pacman -Sy docker
sudo systemctl enable docker
sudo systemctl start docker

Installing Docker Compose

To install Docker Compose on EndeavourOS, you can use the following commands:

sudo pacman -Sy docker-compose

Installing Groceri.es

To install Groceri.es on EndeavourOS, follow these steps:

  1. Create a working directory where you will store the files needed for the installation:

    mkdir ~/groceri.es
    cd ~/groceri.es
    
  2. Copy the docker-compose.yml file from the Groceri.es GitHub repository:

    wget https://raw.githubusercontent.com/jhillyerd/groceries/master/docker-compose.yml
    

    This file defines the Docker containers needed to run Groceri.es.

  3. Edit the docker-compose.yml file to customize the configuration:

    nano docker-compose.yml
    

    In this file, you can change the following settings:

    • PORT: The port on which the web interface will be available. By default, it's set to 8080.
    • TZ: The timezone used by the Groceri.es container. By default, it's set to America/New_York.
  4. Start the Groceri.es containers:

    docker-compose up -d
    

    This command will start the Groceri.es web interface and the database container in the background.

  5. Verify that the containers are running:

    docker-compose ps
    

    This command should list two containers: groceries and groceries-db.

  6. Access the Groceri.es web interface from your web browser:

    http://localhost:8080
    

    If everything is working correctly, you should see the Groceri.es login page.

Congratulations! You have successfully installed Groceri.es on EndeavourOS. You can now create your own grocery lists and manage them using this open-source self-hosted application.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!