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:
- Docker
- Docker Compose
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:
Create a working directory where you will store the files needed for the installation:
mkdir ~/groceri.es cd ~/groceri.esCopy the
docker-compose.ymlfile from the Groceri.es GitHub repository:wget https://raw.githubusercontent.com/jhillyerd/groceries/master/docker-compose.ymlThis file defines the Docker containers needed to run Groceri.es.
Edit the
docker-compose.ymlfile to customize the configuration:nano docker-compose.ymlIn 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.
- PORT: The port on which the web interface will be available. By default, it's set to
Start the Groceri.es containers:
docker-compose up -dThis command will start the Groceri.es web interface and the database container in the background.
Verify that the containers are running:
docker-compose psThis command should list two containers:
groceriesandgroceries-db.Access the Groceri.es web interface from your web browser:
http://localhost:8080If 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.