Application Installation
Steps to set up the development environment
Prerequisites
- Git or GitHub Desktop
- Node.js (includes npm)
- Docker
Setup
- Clone the repository
git clone git@github.gatech.edu:cs-6150-computing-for-good/paladin.git
cd paladin-
Get the
.envfile from the project mentor. It contains secrets for auth, database, Google Maps, PayPal, and push notifications. See Environment Variables for the full list. Do not commit this file. -
Install dependencies
npm install- Initialize the database (starts PostgreSQL in Docker, runs migrations, seeds test data):
npm run init- Start the development server
npm run devOpen http://localhost:3000 in your browser.
Test Accounts
| Password | Role | |
|---|---|---|
| c4gdevad@gmail.com | (ask mentor) | ADMIN |
| c4gdevstaff@gmail.com | (ask mentor) | STAFF |
You can also sign in with any personal Gmail account (it will have no role by default).
Installing as a PWA
Paladin is a Progressive Web App — users can install it on any device for a native app-like experience with push notifications and offline access to cached pages.
iOS (Safari)
- Open the site in Safari
- Tap the Share button (square with arrow)
- Scroll down and tap Add to Home Screen
- Tap Add
Android (Chrome)
- Open the site in Chrome
- Tap the three-dot menu in the top right
- Tap Add to Home Screen (or Install app if prompted)
- Tap Install
Desktop (Chrome / Edge)
- Open the site in Chrome or Edge
- Click the install icon (Monitor with arrow) in the address bar, or open the browser menu and select Install Paladin Farm & Ranch
- Click Install
Useful Commands
| Command | Description |
|---|---|
npm run dev | Start dev server (Turbopack) |
npm run build | Production build |
npm run lint | Run ESLint |
npm run format:fix | Auto-format with Prettier |
npm test | Run Vitest tests |
npx prisma studio | Open database GUI at localhost:5555 |
npx prisma migrate dev | Apply pending migrations |
make docs | Generate user manual (PDF, Word, Markdown) |