← back to Wallpaperdistributors

README.md

27 lines

# wallpaperdistributors.com

B2B wallcovering distributor directory. Operated by Designer Wallcoverings as a free industry resource.

## Stack
- Node.js 20+ / Express 4
- EJS server-rendered views
- JSON-backed seed data (`data/distributors.json`)
- pm2-managed on Kamatera (port 9932)
- nginx vhost on `:80` (TLS deferred until DNS flip)

## Local
```
npm ci
PORT=9932 GA_ID=G-NBZ5WTBW8F npm start
open http://localhost:9932/
```

## Deploy
- Source of truth: Mac2 `~/Projects/wallpaperdistributors`
- Mirror: Kamatera `/root/Projects/wallpaperdistributors`
- pm2 process name: `wallpaperdistributors` (port 9932)
- nginx vhost: `/etc/nginx/sites-enabled/wallpaperdistributors.com`

## Adding a distributor
Append to `data/distributors.json`. Required fields: `id`, `company`, `city`, `regions[]`, `trade_only`, `lines_carried[]`, `segments[]`, `contact_url`. Optional: `showroom`, `memo_program`, `min_order`, `lead_time`, `founded`, `website`, `phone`, `notes`.