Install on Localhost
A complete guide to installing the NexTube - YouTube-style video platform script on your local machine, including setup, license activation, and database configuration.
Welcome to the NexTube - YouTube-style video platform Localhost Installation Guide. This step-by-step tutorial helps you install and configure the script on your local machine for development and testing.
This guide is for local installations. If you are deploying on a VPS or dedicated server, please refer to the corresponding guides.
Prerequisites
Ensure your system meets the server requirements. You will need:
- A computer running Windows, macOS, or Linux
- Node.js (v18+ recommended)
- A modern web browser
Step 1: Prepare Your Environment
-
Download the Script Archive
After purchase, download the ZIP archive containing the script files from your account or email. -
Extract the Archive
Unzip the archive to your desired location:
unzip nextube-files.zip -d /path/to/youtube-clone
Step 2: Install Backend Dependencies
Open a terminal, navigate to the extracted folder, and run:
cd /path/to/youtube-clone
npm install
npm run build
Step 3: Start the Server
- Launch the Application
Start the server by running:
npm run start
or For development
npm run dev
The server will run on your localhost (typically at http://localhost:3000 ).
- Verify the Server is Running
Open your browser and navigate to:
http://localhost:3000
You should see your application’s homepage.
Step 4: Complete Installation via Web Wizard
Once files are installed and dependencies are set up, open your browser and go to:
http://localhost:3000/install
License Activation
- Your license key from
.env
. - If you don’t know it, go to https://pay.jooj.us/  and log in with your purchase email.
Database Configuration
- Your NeonDB connection URL. from
.env
.
Example:
DATABASE_URL=postgresql://USER:PASSWORD@HOST/DB_NAME?sslmode=require
More information how to get NeonDB connection URL
Create Admin
- Set your full name, email, username, and password for the administrator account.
- Once saved, the server will restart automatically.
Complete
- The application “NexTube” was successfully installed. You can now sign in and start using your admin panel.
Step 5: Running the Script
After installation is complete:
- Access Your Application
Open your browser and navigate to:
http://localhost:3000
npm install
For development
npm run dev
For production
npm start
Log in using the administrator credentials you created.
If you encounter issues, please refer to the Troubleshooting Guide or contact support@jooj.us.