From 590dbd6bc6048fbc73c04b6e5b0c7a4b4e545933 Mon Sep 17 00:00:00 2001 From: Blue Falcon <130698314+anonhostpi@users.noreply.github.com> Date: Tue, 24 Dec 2024 01:16:14 -0700 Subject: [PATCH] Non-docker friendly README.md Docker has a high RAM overhead and isn't ideal for lightweight webservers or servers running with limited or cost-based resources like AWS EC2 Added more details catered to non-docker environments - Added note about pyenv - Added missing git clone statement - Added options for controlling port and listening address --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index abde8f0..e9ece2c 100644 --- a/README.md +++ b/README.md @@ -261,8 +261,10 @@ MeTube development relies on code contributions by the community. The program as ## Building and running locally Make sure you have node.js and Python 3.11 installed. +- On systems with system-python packages (like Ubuntu), it is recommended that you use pyenv to manage python: https://github.com/pyenv/pyenv ```bash +git clone https://github.com/alexta69/metube cd metube/ui # install Angular and build the UI npm install @@ -272,7 +274,7 @@ cd .. pip3 install pipenv pipenv install # run -pipenv run python3 app/main.py +HOST=0.0.0.0 PORT=8081 pipenv run python3 app/main.py ``` A Docker image can be built locally (it will build the UI too):