Reading the repo
Reading the repo
Saved setup from 10 h ago
The maintainers included install-deps.bat. Run it from the cloned folder after reading it.
.\install-deps.bat
Will it work on my device?
Then run powershell -ExecutionPolicy Bypass -File .\setup.ps1. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Needs Git: winget install Git.Git
git clone https://github.com/risk4/tahfidz.git cd tahfidz
Node.js LTS (no version pinned), PHP ^8.3
winget install CoreyButler.NVMforWindows nvm install lts nvm use lts scoop install php composer # needs scoop: https://scoop.sh
Fill in secrets: APP_KEY, REDIS_PASSWORD, MAIL_PASSWORD, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY
Copy-Item .env.example .env
npm ci composer install
php artisan key:generate php artisan migrate
Run each command in its own terminal.
npm run dev php artisan serve
No reports for Windows yet.
Opens a chat with this manual already filled in, for Windows. It uses your own account; gitmanual sends nothing.