Monorepo for Aesthetic.Computer aesthetic.computer
at main 50 lines 1.4 kB view raw view rendered
1# Session Server Deployment 2 3SSH keys and deployment scripts for session-server.aesthetic.computer (157.245.134.225) 4 5## Initial Setup 6 71. **Add the public key to the server** (one-time setup): 8 9 From the droplet console, run: 10 ```bash 11 echo 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIObYI8+UhYBK2EMjaqmOi4FNTDkYarumR7H6GHViTq/P session-server-deploy' >> ~/.ssh/authorized_keys 12 ``` 13 142. **Configure SSH access in your dev container**: 15 ```bash 16 cd /workspaces/aesthetic-computer/aesthetic-computer-vault/session-server 17 ./setup-ssh.fish 18 ``` 19 20## Deploy Updates 21 22To deploy the latest session server code to production: 23 24```bash 25cd /workspaces/aesthetic-computer/aesthetic-computer-vault/session-server 26./deploy.fish 27``` 28 29This will: 301. ✅ Pull latest code from GitHub 312. ✅ Install npm dependencies 323. ✅ Restart the session server with pm2 334. ✅ Show logs to verify deployment 34 35## Files 36 37- `session_server` - Private SSH key (DO NOT COMMIT to main repo) 38- `session_server.pub` - Public SSH key 39- `deploy.fish` - Deployment script 40- `setup-ssh.fish` - SSH configuration script 41- `.env` - Environment variables for session server 42 43## Server Info 44 45- **Host**: 157.245.134.225 46- **Domain**: session-server.aesthetic.computer 47- **User**: root 48- **Code Path**: /root/aesthetic-computer/session-server 49- **Process Manager**: pm2 50- **Service Name**: session-server