Installation
Installation
Section titled “Installation”This guide covers the different ways to install and run Stowaway.
Requirements
Section titled “Requirements”- Node.js 18+ (for manual installation)
- Docker & Docker Compose (for containerized deployment)
Docker Installation (Recommended)
Section titled “Docker Installation (Recommended)”The easiest way to run Stowaway is with Docker Compose.
1. Clone the Repository
Section titled “1. Clone the Repository”git clone https://github.com/rennerdo30/stowaway.gitcd stowaway2. Configure Environment
Section titled “2. Configure Environment”Create a .env file with your settings:
cp .env.example .envEdit .env and set a secure AUTH_SECRET:
AUTH_SECRET="your-secure-random-string-here"Tip: Generate a Secure Secret Use OpenSSL to generate a secure secret:
Terminal window openssl rand -base64 32
3. Start the Application
Section titled “3. Start the Application”docker-compose up -d4. Access Stowaway
Section titled “4. Access Stowaway”Open http://localhost:3000 in your browser.
Manual Installation
Section titled “Manual Installation”For development or custom deployments, you can run Stowaway directly with Node.js.
1. Clone the Repository
Section titled “1. Clone the Repository”git clone https://github.com/rennerdo30/stowaway.gitcd stowaway2. Install Dependencies
Section titled “2. Install Dependencies”npm install3. Configure Environment
Section titled “3. Configure Environment”cp .env.example .envEdit .env with your configuration:
DATABASE_URL="file:./dev.db"AUTH_SECRET="your-secure-random-string-here"AUTH_URL="http://localhost:3000"4. Initialize Database
Section titled “4. Initialize Database”npx prisma migrate deploy5. Build and Start
Section titled “5. Build and Start”npm run buildnpm start6. Access Stowaway
Section titled “6. Access Stowaway”Open http://localhost:3000 in your browser.
Development Mode
Section titled “Development Mode”For active development with hot reloading:
npm run devThis starts the development server with automatic recompilation on file changes.
Next Steps
Section titled “Next Steps”- Quick Start Guide - Create your first items
- Configuration - Customize Stowaway settings