Installation

Learn how to install Arunya.

You can install Arunya for development or production use depending on your needs. This guide outlines both approaches.


Local Development Setup

Use this method if you want to run Arunya locally to contribute, test, or explore the platform.

  1. Clone the Repository
git clone https://github.com/0xsarwagya/arunya.git
cd arunya
  1. Install Dependencies
npm install
  1. Start the Dev Server
npm run dev

This will launch the Arunya app locally at http://localhost:3000.


Production Installation (Self-Hosted)

For a production setup, you’ll need:

  • A PostgreSQL database
  • Node.js and npm installed on your server
  • A reverse proxy like NGINX (recommended)
  1. Configure Environment Variables

Create a .env file by copying the example:

cp .env.example .env

Then edit the file to point to your PostgreSQL instance and define a secure JWT_KEY.

  1. Build the App
npm run build
  1. Run in Production Mode
npm run start

For detailed environment setup, database provisioning, and deployment strategies, continue to the Deployment Guide.