Files
Gazelle-Porn/docs/en/Getting-Started.md
2022-07-28 14:03:55 +00:00

1.4 KiB

Getting Started

Setup Project

  1. Install Docker and Docker Compose

  2. 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
  1. Now you can access the website through http://localhost:9000

  2. Register an account: check email in ./cache/emails/ to activate your account.

  3. Configuration (optional): create config.local.php, override anything from config.default.php

  4. If you need the tracker, please deploy the Ocelot.

Setup Editor

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