From afc20179978d3af27c73931837f220a050a8f49b Mon Sep 17 00:00:00 2001 From: Potenz Date: Mon, 1 Dec 2025 22:22:17 +0530 Subject: [PATCH] init --- README.md | 1 + docs/server-setup.md | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 docs/server-setup.md diff --git a/README.md b/README.md index 751837e..a051f0b 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,7 @@ python3 agent.py ## 📖 Developer Documentation +- [Setting up server environment](docs/server-setup.md) — the first step, to run this app in environment. - [Development Hosts & Ports](docs/ports.md) — which app runs on which host/port diff --git a/docs/server-setup.md b/docs/server-setup.md new file mode 100644 index 0000000..c1211c5 --- /dev/null +++ b/docs/server-setup.md @@ -0,0 +1,36 @@ +# Server Setup Guide + +## 1. Update System Packages +```bash +sudo apt update && sudo apt upgrade -y +``` + +## 2. Install Node.js (LTS) +```bash +curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash - +sudo apt install -y nodejs + +node -v +npm -v +``` + +## 3. Install Python 3 +```bash +sudo apt install -y python3 python3-pip python3-venv + +python3 --version +pip3 --version +``` + +## 4. Install PostgreSQL +```bash +sudo apt install -y postgresql postgresql-contrib + +sudo systemctl start postgresql +sudo systemctl enable postgresql +``` + +## 5. Install Git +```bash +sudo apt install -y git +```