mirror of
https://github.com/BillyOutlast/Gazelle-Porn.git
synced 2026-02-04 02:51:19 +01:00
1.4 KiB
1.4 KiB
Getting Started
Setup Project
-
Install Docker and Docker Compose
-
Run it
# Build Docker image
# For x86 CPU
docker build -t gpw-web:latest .
# For ARM CPU (Macbook M1)
docker buildx create --use
docker buildx build --platform linux/amd64 --load -t gpw-web:latest .
# Start
docker-compose -p gazelle up
-
Now you can access the website through http://localhost:9000
-
Register an account: check email in
./cache/emails/to activate your account. -
Configuration (optional): create
config.local.php, override anything fromconfig.default.php -
If you need the tracker, please deploy the Ocelot.
Setup Editor
- VSCode: Install Prettier, XML, PHP Intelephense, Crowdin
Going further
# Create a database migration
docker-compose exec -it --user gazelle web vendor/bin/phinx create MyNewMigration
# Run database migration
docker-compose exec -it --user gazelle web vendor/bin/phinx migrate