Get the application running in 5 minutes!
npm install# Create database
createdb multisig_registry
# Create .env file
cat > .env << EOF
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/multisig_registry"
SESSION_SECRET="dev-secret-key-$(openssl rand -hex 16)"
EOF- Install Vercel CLI:
npm i -g vercel - Link your project:
vercel link - Create Postgres database:
vercel postgres create - The
DATABASE_URLwill be automatically added to your environment variables - For local development, pull the connection string:
# Pull environment variables (includes DATABASE_URL)
vercel env pull .env.local
# Or manually add to .env:
# DATABASE_URL will be provided by Vercel
# Format: postgres://default:[PASSWORD]@[HOST]:[PORT]/verceldbNote: Vercel Postgres automatically handles connection pooling, so no additional configuration is needed.
- Go to https://supabase.com and create account
- Create new project
- Go to Settings > Database
- Copy the connection string
- Create
.envfile:
cat > .env << EOF
DATABASE_URL="postgresql://postgres:[YOUR-PASSWORD]@db.[PROJECT-REF].supabase.co:5432/postgres"
SESSION_SECRET="dev-secret-key-$(openssl rand -hex 16)"
EOF# Generate Prisma client
npm run db:generate
# Run migrations
npm run db:migrate
# Create admin user
npm run db:seedDefault admin credentials:
- Username:
**** - Password:
****
npm run dev- Open browser: http://localhost:3000
- Login with: your custom credentials
- You should see the Multisig Wallets dashboard
- Can login with admin credentials
- See empty wallets list (or existing wallets)
- Can navigate to Signers page
- Can see "Add Wallet" button (admin only)
- Can see "Add User" button (admin only)
Database connection error?
# Test connection
psql $DATABASE_URL -c "SELECT 1;"
# If fails, check:
# - PostgreSQL is running
# - DATABASE_URL is correct in .env
# - Database existsMigration errors?
# Reset and retry
npx prisma migrate reset
npm run db:migrateCan't login?
# Re-seed admin user
npm run db:seed
Once basic setup works, you can:
- Add a test wallet (must be a real Safe wallet address)
- Add test signers
- Map signers to wallets
See TESTING.md for detailed testing instructions.