Set up PostgreSQL, authentication, and deployment.
Arkivel requires Node.js and PostgreSQL. Object storage is only required for file uploads.
git clone https://github.com/mohammed-alsalhi/arkivel.git
cd arkivel
npm install
cp .env.example .env
npx prisma db push
npm run devSet DATABASE_URL, ADMIN_SECRET, and NEXT_PUBLIC_BASE_URL. Environment variables also control branding, layouts, registration, discussions, and uploads.
Set ARKIVEL_SITE_MODE=product for a database-free public site; omit it for a wiki.
Set ADMIN_SECRET on every public wiki. Leaving it unset is only safe in local development.
Multi-user installs support viewer, editor, and admin accounts.
Deploy the Next.js app on Vercel. Run npx prisma db push separately after reviewing schema changes; builds only run npm run build and never use --accept-data-loss.
Use one deployment project and database per Arkivel instance. Multiple projects can deploy from the same repository.