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.
- Clone the Repository
git clone https://github.com/0xsarwagya/arunya.git
cd arunya
- Install Dependencies
npm install
- 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)
- 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.
- Build the App
npm run build
- Run in Production Mode
npm run start
For detailed environment setup, database provisioning, and deployment strategies, continue to the Deployment Guide.