Install on Localhost
A complete guide to installing the NexWrite - Medium-style blogging platform script on your local machine, including setup, license activation, and database configuration.
Welcome to the NexWrite - Medium-style blogging 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)
- MongoDB installed locally (or access to a remote MongoDB instance)
- 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:
Step 2: Install Backend Dependencies
Open a terminal, navigate to the extracted folder, and run:
Step 3: Start the Server
-
Launch the Application
Start the server by running:The server will run on your localhost (typically at http://localhost:3000).
-
Verify the Server is Running
Open your browser and navigate to: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:
License Activation
- Enter your license key.
- If you don’t know it, go to https://pay.jooj.us/ and log in with your purchase email.
Database Configuration
-
Enter your MongoDB connection URI. You can use either:
A. MongoDB Atlas (cloud database)
(Replace
<username>
,<password>
,<cluster>
, and<database>
with your actual values.)B. Local MongoDB Installation
(Replace your-database-name
with your desired database name.)
- Enter your JWT secret key by either pasting your own or clicking Generate to auto-generate one securely.
Create Admin
- Set your full name, email, username, and password for the administrator account.
- Once saved, the server will restart automatically.
Step 5: Running the Script
After installation is complete:
-
Access Your Application
Open your browser and navigate to:Log in using the administrator credentials you created.
For efficient development, consider installing nodemon to automatically restart the server on code changes:
If you encounter issues, please refer to the Troubleshooting Guide or contact support@jooj.us.