d4d44cf283
`ddev start` provisions: - web container: Debian + Go 1.26.3 + node 24, builds gitea via `ddev build-gitea` - db: postgres 17 - router: https://gitea.ddev.site → gitea on container port 3000 First-run steps: ddev start ddev build-gitea ddev restart ddev exec './gitea --config .ddev/gitea/app.ini admin user create \ --admin --username ddev --password ddev1234567890 \ --email ddev@example.com --must-change-password=false' .ddev/.gitignore uses a whitelist: only the 6 files we authored are tracked; DDEV's generated content (compose files, provider templates, snapshots, gocache, gitea runtime data) is ignored.
11 lines
303 B
Bash
Executable File
11 lines
303 B
Bash
Executable File
#!/usr/bin/env bash
|
|
## Description: Build the gitea backend binary inside the web container
|
|
## Usage: build-gitea
|
|
## Example: ddev build-gitea
|
|
|
|
set -eu
|
|
cd /var/www/html
|
|
echo "Building gitea backend (cgo, sqlite + sqlite_unlock_notify tags)..."
|
|
make backend
|
|
echo "Done. Restart the daemon: ddev restart"
|