Overview
How to Push Local Environment Content to a FortRabbit Server
In this video, I walk through the step-by-step process of transferring content from a local environment to a FortRabbit server.
The guide covers essential actions such as creating data backups, updating files, and configuring environment variables to ensure a seamless transition to the production server. The video concludes with a comprehensive explanation of how to successfully migrate and manage your local environment content on FortRabbit. Key tasks include creating a backup of your database, staging and committing files for upload, and updating environment variables. I emphasize the importance of verifying updates in a local environment before pushing changes to the live server to prevent potential issues.
Summary
- Introduction: I introduce the process of migrating content from a local environment to FortRabbit, highlighting the necessity of backing up data.
- Backup Methods: Demonstrate how to create a database backup using the utilities section or SQL Pro, ensuring data safety before migration.
- File Management: Explain the use of Tower to stage and commit files, detailing the steps to update the composer.json file and prepare for a server push.
- Pushing to Server: Walk through the process of pushing committed changes to the FortRabbit server, ensuring all updates are properly applied.
- Database Import: Show how to import the local database backup into FortRabbit using SQL Pro, replacing old entries with new ones.
- Environment Configuration: Stress the importance of setting up environment variables correctly in FortRabbit, avoiding common mistakes like incorrect key usage.
- Final Verification: Guide through verifying that the local and production environments match, checking the admin panel and installed plugins for consistency.
- Updating Plugins: Advise on updating plugins and other components in the local environment first, testing for issues before applying changes to the live server.
- Automatic Updates: Explain how FortRabbit automatically handles new commits, simplifying the update process for production environments.
- Next Steps: Conclude by previewing the next lesson on connecting the domain StreamVR app to the production server.
Highlights
📂 Backup Creation: Always create a backup of your local database before transferring data to the FortRabbit server. Use either the database backup utility or SQL Pro for this task.
🔄 File Staging and Committing: Use Tower to stage, commit, and push updated files from the local environment to the server. This ensures all modifications are tracked and transferred correctly.
🔑 Environment Variables: Correctly configure environment variables in FortRabbit, especially ensuring private keys and primary site URLs are properly set to avoid connection issues.
Overview
How to Push Local Environment Content to a FortRabbit Server
In this video, I walk through the step-by-step process of transferring content from a local environment to a FortRabbit server.
The guide covers essential actions such as creating data backups, updating files, and configuring environment variables to ensure a seamless transition to the production server. The video concludes with a comprehensive explanation of how to successfully migrate and manage your local environment content on FortRabbit. Key tasks include creating a backup of your database, staging and committing files for upload, and updating environment variables. I emphasize the importance of verifying updates in a local environment before pushing changes to the live server to prevent potential issues.
Summary
- Introduction: I introduce the process of migrating content from a local environment to FortRabbit, highlighting the necessity of backing up data.
- Backup Methods: Demonstrate how to create a database backup using the utilities section or SQL Pro, ensuring data safety before migration.
- File Management: Explain the use of Tower to stage and commit files, detailing the steps to update the composer.json file and prepare for a server push.
- Pushing to Server: Walk through the process of pushing committed changes to the FortRabbit server, ensuring all updates are properly applied.
- Database Import: Show how to import the local database backup into FortRabbit using SQL Pro, replacing old entries with new ones.
- Environment Configuration: Stress the importance of setting up environment variables correctly in FortRabbit, avoiding common mistakes like incorrect key usage.
- Final Verification: Guide through verifying that the local and production environments match, checking the admin panel and installed plugins for consistency.
- Updating Plugins: Advise on updating plugins and other components in the local environment first, testing for issues before applying changes to the live server.
- Automatic Updates: Explain how FortRabbit automatically handles new commits, simplifying the update process for production environments.
- Next Steps: Conclude by previewing the next lesson on connecting the domain StreamVR app to the production server.
Highlights
📂 Backup Creation: Always create a backup of your local database before transferring data to the FortRabbit server. Use either the database backup utility or SQL Pro for this task.
🔄 File Staging and Committing: Use Tower to stage, commit, and push updated files from the local environment to the server. This ensures all modifications are tracked and transferred correctly.
🔑 Environment Variables: Correctly configure environment variables in FortRabbit, especially ensuring private keys and primary site URLs are properly set to avoid connection issues.