Mealie is a self-hosted recipe manager and planner written in Python. This tutorial will guide you through the installation process of Mealie on Alpine Linux Latest.
Ensure your system is up to date by running the following command:
sudo apk update && sudo apk upgrade
Install the required dependencies for Mealie by running the following command:
sudo apk add python3 python3-dev py3-pip postgresql-dev build-base libxml2-dev libxslt-dev jpeg-dev zlib-dev
git clone https://github.com/hay-kot/mealie.git
cd mealie/
sudo pip3 install -r requirements.txt
sudo -u postgres createdb mealie
sudo -u postgres createuser -d -P mealie
.env
file for Mealie:DATABASE_URL=postgres://mealie:<your-db-password>@localhost/mealie
SECRET_KEY=<your-secret-key>
python3 manage.py migrate
python3 manage.py createsuperuser
python3 manage.py runserver 0.0.0.0:8000
Open up your web browser and navigate to http://your-server-ip:8000/admin
to access Mealie. You should be able to login with the admin user you created in step 3.
Congratulations! You have successfully installed Mealie on Alpine Linux Latest.
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!
Alternatively, for the best virtual desktop, try Shells!