Zooniverse ships with anDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/raczkodavid/Zooniverse/llms.txt
Use this file to discover all available pages before exploring further.
init.bat script that automates the entire local setup process — from installing Composer dependencies to creating the SQLite database and starting the development server. You can go from a fresh clone to a running application in a single command.
Prerequisites
Before you begin, make sure you have the following installed:- PHP 8.2 or higher — required by Laravel 12.x
- Composer — the PHP dependency manager
Installation
Run the initialization script
Run the The script performs the following steps in order:
init.bat script from the project root. This single command handles the full setup.| Step | Command | What it does |
|---|---|---|
| Install dependencies | composer install | Downloads all PHP packages defined in composer.json |
Create .env file | (inline) | Writes a local environment config with DB_CONNECTION=sqlite and APP_URL=http://localhost:8000 |
| Generate app key | php artisan key:generate | Sets the APP_KEY used for encryption |
| Create SQLite database | type nul > database\database.sqlite | Creates an empty SQLite database file |
| Run migrations and seed | php artisan migrate:fresh --seed | Creates all tables and populates demo data |
| Create storage symlink | php artisan storage:link | Links public/storage to storage/app/public |
| Start dev server | php artisan serve | Starts the application at http://localhost:8000 |
Access the application
Once the dev server is running, open your browser and go to:You can log in immediately using the default admin account. See Default Users for credentials.
Zooniverse uses SQLite as its database. No additional database server (MySQL, PostgreSQL, etc.) is required. The database file lives at
database/database.sqlite inside the project directory.What the .env file contains
The init.bat script writes a minimal .env file with sensible defaults for local development:
Manual setup (optional)
If you prefer to run each step individually instead of usinginit.bat, you can execute the same commands yourself:
The
init.bat script is designed for Windows. On macOS or Linux, run the equivalent shell commands above directly in your terminal. The type nul > command should be replaced with touch database/database.sqlite.