Donate Me Installation Guide#
Prerequisites#
Before you begin, ensure you have the following installed on your VPS:1.
Node.js: Make sure you have Node.js version 18 or higher installed. It is recommended to use Node.js version 21 for stability.
2.
Nginx: Install Nginx to use as a reverse proxy server.
3.
PM2: Install PM2 to manage your Next.js application process and keep it running 24/7.
4.
Next.js: The application is built with Next.js, so you'll need it installed.
Install Required Packages#
Run the following commands to install everything:Step 1: Download and Set Up the Application#
1.
Download the Application:Choose the version you want to download and click the download button. It is recommended to always download the latest version for stability.
2.
Log in to your VPS using an SCP client like WinSCP or any other provider.
Navigate to the folder where you want to place the application, for example, /var/www
.
Upload the downloaded zip file to this folder and unzip it.
3.
Navigate to the Application Directory:Open your terminal and navigate to the directory where the application is uploaded: 4.
Install Dependencies and Build the Application:Run the following commands: Without SSL#
1.
Edit the Nginx Configuration File:Open the config file using Nano: Add the following configuration: 2.
Enable the Configuration: With SSL#
2.
Obtain an SSL Certificate: 3.
Verify and Adjust Nginx Config (if needed):
Certbot modifies your config. Ensure it looks like this: Step 3: Manage the Application with PM2#
Step 4: Verify the Installation#
1.
Check Application Status: 2.
Visit http://your-domain.com
or https://your-domain.com
depending on your setup.
Additional Resources#
For more information on deploying Next.js apps with Nginx and PM2, check out this guide. Modified at 2025-07-27 13:33:55