-
Install dependencies:
composer install
-
Create database (if needed):
php bin/console doctrine:database:create
-
Initialize schema:
php bin/console doctrine:schema:create
-
Create
OSMCHA_API_KEY
in your environment with your OSMCha API key
- Install Symfony CLI
- Run
symfony server:start
- Browse the given URL
Check Symfony local server documentation for more information.
docker build . --tag osm-welcome-tool
docker run --detach --publish 80:80 --env-file .env.local osm-welcome-tool
Check Symfony deployment documentation.
vendor/bin/dep deploy --branch=2.x welcome.osm.be
-
Update XLIFF files for English
php bin/console translation:extract --force en
-
Upload XLIFF files for English to Crowdin
php bin/console translation:push --force --locales en
-
Update translations in Crowdin
-
Download XLIFF files from Crowdin
php bin/console translation:pull --force