Conversation
Major improvements: - Add DEPLOYMENT.md with detailed Apache/Nginx deployment instructions - Add .htaccess.sample for subdirectory installation (standard method) - Add GitHub Copilot instructions for better AI-assisted development - Update .gitignore to exclude user-specific .htaccess files - Enhance README files with deployment guide references - Update to version 1.3.2 This update establishes subdirectory installation as the standard deployment method, providing clear instructions for production environments. Key features: - Subdirectory installation with parent directory .htaccess placement - Document root installation guide - Apache and Nginx configuration examples - Comprehensive troubleshooting section - Visual directory structure diagrams Resolves deployment configuration issues for hosted environments.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📋 Summary
This PR adds comprehensive deployment documentation and configuration for hosting MockAPI-PHP in production environments, establishing subdirectory installation as the standard deployment method.
🎯 Changes
New Files
DEPLOYMENT.md(549 lines) - Comprehensive deployment guide.htaccess.sample(37 lines) - Apache URL rewriting configuration.github/copilot-instructions.md(307 lines) - GitHub Copilot project instructionsUpdated Files
CHANGELOG.md- Added v1.3.2 release notes.gitignore- Exclude user-specific.htaccessfilesREADME.md/README_JP.md- Added deployment guide referencesversion.json- Bumped to v1.3.2📊 Statistics
```
8 files changed, 926 insertions(+), 2 deletions(-)
```
🎨 Key Features
Subdirectory Installation (Standard Method)
Directory Structure:
```
/var/www/html/ # Document root
├── .htaccess # ← Copy .htaccess.sample here
├── index.html # Existing site files
└── MockAPI-PHP/ # ← Git cloned directory
├── index.php
├── .htaccess.sample
└── ...
```
URL Structure:
```
https://example.com/MockAPI-PHP/api/users
↓ ↓ ↓
Directory BASE Endpoint
```
Benefits
🔧 Technical Details
Apache Configuration
Nginx Support
Environment Variables
📚 Documentation Improvements
🧪 Testing
Tested configurations:
🔗 Related Issues
Addresses common deployment questions and provides solutions for hosted environment installations.
📝 Checklist
🚀 Breaking Changes
None. This is a backward-compatible addition of deployment documentation and configuration.
📖 Migration Guide
For existing users:
Ready to merge after review ✨