- Migrate from custom HTTP server to VitePress framework - Rename project to Tokenized License Approval System (TLAS) - Add comprehensive documentation for all stakeholders: - Business: Executive summary, value proposition, governance - Operations: Infrastructure, installation, monitoring, backup - Departments: User guide, workflows, verification, issuance - Developers: API reference, authentication, webhooks, SDKs - Compliance: OWASP, DPDP Act, IT Act, audit framework - Add modern theme with dark mode and full-text search - Update Dockerfile for VitePress build process Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
73 lines
1.3 KiB
Markdown
73 lines
1.3 KiB
Markdown
# Deployment Guide
|
|
|
|
## Deployment Options
|
|
|
|
| Method | Use Case | Complexity |
|
|
|--------|----------|------------|
|
|
| Docker Compose | Single server, development | Low |
|
|
| Kubernetes | Production, high availability | High |
|
|
| Manual | Custom requirements | Medium |
|
|
|
|
## Quick Deploy (Docker Compose)
|
|
|
|
```bash
|
|
# Clone repository
|
|
git clone https://github.com/goa-gel/tlas.git
|
|
cd tlas
|
|
|
|
# Configure
|
|
cp .env.example .env
|
|
# Edit .env with your settings
|
|
|
|
# Deploy
|
|
docker-compose up -d
|
|
|
|
# Verify
|
|
docker-compose ps
|
|
curl http://localhost:3000/api/health
|
|
```
|
|
|
|
## Production Checklist
|
|
|
|
### Pre-deployment
|
|
|
|
- [ ] SSL certificates obtained
|
|
- [ ] Domain DNS configured
|
|
- [ ] Environment variables set
|
|
- [ ] Database credentials secured
|
|
- [ ] Backup strategy defined
|
|
|
|
### Deployment
|
|
|
|
- [ ] Services deployed
|
|
- [ ] Health checks passing
|
|
- [ ] SSL verified
|
|
- [ ] Firewall configured
|
|
|
|
### Post-deployment
|
|
|
|
- [ ] Monitoring configured
|
|
- [ ] Alerts verified
|
|
- [ ] Backup tested
|
|
- [ ] Documentation updated
|
|
|
|
## Rollback Procedure
|
|
|
|
```bash
|
|
# Stop current version
|
|
docker-compose down
|
|
|
|
# Restore previous version
|
|
git checkout <previous-tag>
|
|
docker-compose up -d
|
|
|
|
# Verify
|
|
curl http://localhost:3000/api/health
|
|
```
|
|
|
|
## Support
|
|
|
|
For deployment assistance:
|
|
- Email: devops@tlas.gov.in
|
|
- Documentation: This guide
|