Update documentation: Admin login working, correct credentials documented
- Updated README with live website status and admin credentials - Memory bank updated with complete resolution of admin login issues - Documented successful deployment at https://mad-lawsuit.org - Added current admin credentials: eliza / AXEoZWk2AMAD0naw
This commit is contained in:
parent
87a572df5a
commit
facc7fb55c
2 changed files with 35 additions and 5 deletions
24
README.md
24
README.md
|
|
@ -1,6 +1,12 @@
|
|||
# Eliza Kragh v. Montana Association of the Deaf - Court Docket Website
|
||||
# Elizabeth Kragh v. Montana Association of the Deaf - Court Docket Website
|
||||
|
||||
A public-facing website to display court documents and filings for the ongoing lawsuit: **Eliza Kragh v. Montana Association of the Deaf**. The system provides public transparency for court proceedings while allowing administrative management of documents and user notifications.
|
||||
A public-facing website to display court documents and filings for the ongoing lawsuit: **Elizabeth Kragh v. Montana Association of the Deaf**. The system provides public transparency for court proceedings while allowing administrative management of documents and user notifications.
|
||||
|
||||
## 🌐 Live Website
|
||||
|
||||
- **Public Access**: https://mad-lawsuit.org
|
||||
- **Admin Panel**: https://mad-lawsuit.org/admin
|
||||
- **Status**: LIVE AND OPERATIONAL ✅
|
||||
|
||||
## 🏗️ Architecture
|
||||
|
||||
|
|
@ -151,11 +157,21 @@ For production deployment with Portainer and Caddy, see the complete [DEPLOYMENT
|
|||
docker-compose -f docker-compose.prod.yml up -d
|
||||
```
|
||||
|
||||
3. **Set up admin user for Eliza**
|
||||
3. **Set up admin user for Elizabeth**
|
||||
```bash
|
||||
docker exec -it backend_container node setup-admin.js
|
||||
docker exec -it backend_container node setup-admin-fixed.js
|
||||
```
|
||||
|
||||
## 🔐 Admin Access
|
||||
|
||||
### Current Production Credentials
|
||||
- **URL**: https://mad-lawsuit.org/admin
|
||||
- **Username**: `eliza`
|
||||
- **Password**: `AXEoZWk2AMAD0naw`
|
||||
- **Status**: Active and functional ✅
|
||||
|
||||
**⚠️ Security Note**: These credentials were generated during production deployment. Change them immediately after first login for enhanced security.
|
||||
|
||||
### Development Setup
|
||||
|
||||
1. **Build containers**
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Active Context - Elizabeth Kragh v. MAD Court Docket Website
|
||||
|
||||
## Current Status: SUCCESSFULLY DEPLOYED AND LIVE ✅
|
||||
## Current Status: FULLY OPERATIONAL WITH WORKING ADMIN LOGIN ✅
|
||||
|
||||
### **FINAL PROJECT STATE (December 25, 2024):**
|
||||
|
||||
|
|
@ -67,9 +67,23 @@ mad-lawsuit.org {
|
|||
4. **SSL Certificates**: Automatic Let's Encrypt working
|
||||
5. **DNS Resolution**: Both domains resolving correctly
|
||||
|
||||
### **✅ Admin Login Network Error - COMPLETELY RESOLVED:**
|
||||
**Problem**: Frontend JavaScript making direct backend calls instead of using Next.js proxy
|
||||
- **Root Cause**: `fetch('http://localhost:3001/api/auth/login')` bypassing proxy
|
||||
- **Solution**: Changed to `fetch('/api/auth/login')` using Next.js rewrites
|
||||
- **Database Issue**: Missing migrations and admin user after redeployment
|
||||
- **Resolution**: Applied migrations and created admin user with new credentials
|
||||
|
||||
### **✅ Current Admin Credentials:**
|
||||
- **Username**: `eliza`
|
||||
- **Password**: `AXEoZWk2AMAD0naw`
|
||||
- **Login Status**: WORKING ✅
|
||||
- **Access**: https://mad-lawsuit.org/admin
|
||||
|
||||
### **✅ Verification Tests Passed:**
|
||||
- **Main Domain**: `curl https://mad-lawsuit.org` → HTTP 200 ✅
|
||||
- **Admin Panel**: `curl https://mad-lawsuit.org/admin` → HTTP 200 ✅
|
||||
- **Admin Login**: JWT token returned successfully ✅
|
||||
- **Response Time**: 0.09 seconds (excellent performance) ✅
|
||||
- **SSL Security**: HTTPS encryption active ✅
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue