This commit is contained in:
2025-12-01 22:22:17 +05:30
parent 34e7d8eefe
commit afc2017997
2 changed files with 37 additions and 0 deletions

View File

@@ -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

36
docs/server-setup.md Normal file
View File

@@ -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
```