Installation Guide
Detailed instructions for installing Dirstarter in different environments
This guide provides detailed instructions for installing Dirstarter in different environments.
System Requirements
Dirstarter requires the following:
- Node.js: Version 18.0.0 or later
- Database: PostgreSQL 14 or later
- Storage: Minimum 500MB disk space
- Memory: Minimum 1GB RAM for development
Installation Methods
Method 1: Using the Template (Recommended)
The easiest way to get started is by using our GitHub template:
- Visit github.com/dirstarter/dirstarter
- Click "Use this template" > "Create a new repository"
- Clone your new repository to your local machine
Method 2: Manual Installation
Docker Installation
Dirstarter can also be installed using Docker:
This will start the following services:
- Next.js application on port 3000
- PostgreSQL database on port 5432
Troubleshooting
If you encounter any issues during installation, check the Common Issues page or open an issue on GitHub.
Common Installation Problems
- Database connection errors: Ensure your PostgreSQL server is running and the connection string in
.env
is correct. - Node version incompatibility: Verify you're using Node.js 18.0.0 or later with
node --version
. - Port conflicts: If port 3000 is already in use, you can change it in the
.env
file.
Next Steps
After installation, proceed to Environment Setup to configure your application.
Edit on GitHub
Last updated on