diff --git a/content/docs/Paymenter Migration.md b/content/docs/Paymenter Migration.md deleted file mode 100644 index a57537b..0000000 --- a/content/docs/Paymenter Migration.md +++ /dev/null @@ -1,26 +0,0 @@ -Here are the instructions in a more professional and clear format: - -1. **Backup Your Hidden `.env` File:** - - Locate your hidden `.env` file containing the decryption key `APP_KEY` in the directory `/var/www/paymenter/`. - -2. **Export the Database:** - - Export your database named `paymenter` using the following command: - ``` - mysqldump -u root -p --opt paymenter > /var/www/paymenter/panel.sql - ``` - - This command will save the `.sql` file to the `/var/www/paymenter/` folder. - -3. **Follow Paymenter Installation Documentation:** - - Refer to the Paymenter installation documentation for step-by-step instructions on how to install Paymenter on your new server. - -4. **Transfer and Import the Database:** - - Transfer the `paymenter.sql` file to your new server. - - Import the database using the following command. Make sure you are in the folder where your `.sql` dump is located: - ``` - mysql -u root -p paymenter < paymenter.sql - ``` - -5. **Complete the Panel Migration:** - - Transfer your old `.env` file to the `/var/www/paymenter` location. - -These steps will help you back up your `.env` file, export and import the database, and successfully migrate your Paymenter panel to a new server. diff --git a/content/docs/getting-started/how-to-update.md b/content/docs/getting-started/how-to-update.md index c2b5e59..a6de557 100644 --- a/content/docs/getting-started/how-to-update.md +++ b/content/docs/getting-started/how-to-update.md @@ -1,6 +1,7 @@ --- aliases: ['/docs/how-to-update'] toc: true +description: How to update Paymenter --- # How to update diff --git a/content/docs/getting-started/installation.md b/content/docs/getting-started/installation.md index 131141d..fb11510 100644 --- a/content/docs/getting-started/installation.md +++ b/content/docs/getting-started/installation.md @@ -3,7 +3,6 @@ title: Installation description: How to install Paymenter type: docs toc: true - --- # Preparation diff --git a/content/docs/guides/migration/index.md b/content/docs/guides/migration/index.md index dda6314..f1ba2e9 100644 --- a/content/docs/guides/migration/index.md +++ b/content/docs/guides/migration/index.md @@ -1,14 +1,30 @@ -1. Backup your hidden ```.env``` file containing the decryption ```APP_KEY``` from /var/www/paymenter/ +--- +description: How to migrate Paymenter to a new server +--- -2. Export the database, in this case ours is named paymenter +# Guide for migrating paymenter to a new server -```mysqldump -u root -p --opt paymenter > /var/www/paymenter/panel.sql``` -The .sql file would be saved in the /var/www/paymenter/ folder. +1. **Backup Your Hidden `.env` File:** + - Locate your hidden `.env` file containing the decryption key `APP_KEY` in the directory `/var/www/paymenter/`. + +2. **Export the Database:** + - Export your database named `paymenter` using the following command: + ``` + mysqldump -u root -p --opt paymenter > /var/www/paymenter/panel.sql + ``` + - This command will save the `.sql` file to the `/var/www/paymenter/` folder. -3. Follow the paymenter installation documentation to install the paymenter on your new server. +3. **Follow Paymenter Installation Documentation:** + - Refer to the Paymenter installation documentation for step-by-step instructions on how to install Paymenter on your new server. -4. Transfer the paymenter.sql file to your new server and import the database. Make sure you're in the folder containing your .sql dump when performing the commands. +4. **Transfer and Import the Database:** + - Transfer the `paymenter.sql` file to your new server. + - Import the database using the following command. Make sure you are in the folder where your `.sql` dump is located: + ``` + mysql -u root -p paymenter < paymenter.sql + ``` -```mysql -u root -p paymenter < paymenter.sql``` - -5. After this, transfer your old .env file to the /var/www/paymenter location to complete the panel migration. +5. **Complete the Panel Migration:** + - Transfer your old `.env` file to the `/var/www/paymenter` location. + +These steps will help you back up your `.env` file, export and import the database, and successfully migrate your Paymenter panel to a new server.