The tapahtumat.pori.fi calendar contains all the events and activities near Pori.
- Read the Lando docs and install the latest Lando.
- Check out the repo:
git clone git@github.com:City-of-Pori/pori-events.git tapahtumat && cd tapahtumat/drupal
. - Start the site:
lando start
. - Sync the local database with selected environment:
lando syncdb <env>
(stage
by default,prod
). Connect to the required VPN first. - Update the local database & enable development components:
lando update
. - Go to https://tapahtumat.lndo.site/.
- https://adminer-tapahtumat.lndo.site - Adminer for database management, log in without entering the credentials.
- https://mail-tapahtumat.lndo.site - Mailhog for mail management.
Full commands/tools overview is available by running lando
. Custom tools:
lando bower
,lando gulp
,lando npm
- frontend tooling,lando index
- sets up the elasticsearch indexes,lando update
- updates the local db & enables dev components,lando migrate
- imports migrate_source_event migration group,lando xdebug-on
- enables xdebug,lando xdebug-off
- disables xdebug.
Check custom modules folder + themes folder: lando ssh -c "phpcs --standard=vendor/phpcompatibility/php-compatibility/PHPCompatibility --extensions=php,inc,module,install --colors --report-full=report_80_custom.txt --runtime-set testVersion 8.0 -ps web/themes -ps web/modules/custom"
Check contrib modules folder: lando ssh -c "phpcs --standard=vendor/phpcompatibility/php-compatibility/PHPCompatibility --extensions=php,inc,module,install --colors --report-full=report_80_contrib.txt --runtime-set testVersion 8.0 -ps web/modules/contrib"