Development Environment Setup
Get your ShipKit development environment up and running quickly with these setup instructions.
Prerequisites
Node.js 20.x or later required
Fast, disk space efficient package manager
Quick Start
Environment Variables
Create a .env.local
file with these variables:
Database Setup
ShipKit uses PostgreSQL as its primary database:
Development Tools
VS Code Extensions
We recommend these extensions for the best development experience:
- ESLint
- Prettier
- Tailwind CSS IntelliSense
- TypeScript Vue Plugin
- GitLens
Configuration
Add this to your VS Code settings:
Local Services
ShipKit requires these services for full functionality:
Development Commands
Git Hooks
We use Husky for Git hooks:
- Pre-commit: Runs linting and type checking
- Pre-push: Runs tests
Troubleshooting
Common issues and solutions:
-
Database Connection Issues
-
Port Conflicts
-
Cache Issues
Best Practices
- Keep dependencies up to date
- Follow the coding style guide
- Write tests for new features
- Use conventional commits
- Document new features
- Keep the development environment clean
- Regular dependency updates
- Use feature branches