Skip to content

Latest commit

 

History

History
87 lines (60 loc) · 1.58 KB

File metadata and controls

87 lines (60 loc) · 1.58 KB

Developer Quickstart

This page is the fastest path to a productive Catroweb setup.

Recommended: Docker Dev Setup

  1. Clone your fork and add the upstream remote:
git clone <your-fork-url>
cd Catroweb
git remote add catroweb git@github.com:Catrobat/Catroweb.git
git checkout develop
git pull catroweb develop
  1. Start the development stack:
cd docker
docker compose -f docker-compose.dev.yaml up -d --build
  1. Open the app:
  1. Run project reset (inside container):
docker exec -it app.catroweb php bin/console catrobat:reset --hard

Daily Workflow Commands

Run in the project root unless stated otherwise.

Pull latest changes from upstream develop

git checkout develop
git pull catroweb develop

Run static checks

yarn test-js
yarn test-css
yarn test-asset
yarn test-php
yarn test-twig

or all in one:

yarn test

Auto-fix supported checks

yarn fix

Run tests

docker exec -it app.catroweb bin/phpunit tests
docker exec -it app.catroweb bin/behat

Native Setup (Alternative)

If you explicitly want a non-Docker setup:

Where to go next