WP Manifestindependent plugin directory
manifest / events / lasntgadmin-attendees

LASNTG Admin Attendees

Custom WordPress plugin for LASNTG attendees

by fioru-software · github.com/fioru-software/lasntgadmin-attendees · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/fioru-software/lasntgadmin-attendees/archive/refs/heads/master.zip

LASNTG WordPress plugin template

Please see WordPress plugin developer handbook for detailed info.

Development

PHP

Emails will be sent to Mailtrap Inbox. Credentials are available on our Bitwarden.

Create .env file.

SITE_URL=localhost:8080
SITE_TITLE=WordPress
WP_PLUGIN=example-plugin
WP_PLUGINS=groups woocommerce advanced-custom-fields user-role-editor wp-mail-smtp
WP_THEME=storefront
ADMIN_USERNAME=admin
ADMIN_PASSWORD=secret
ADMIN_EMAIL=admin@example.com

Build images and run WordPress.

# build Docker image
docker-compose build # optionally override Dockerfile build arguments by appending --build-arg USER_ID=$(id -u)
# start container
docker-compose up wordpress 

Run the tests

docker exec -ti -u www-data lasntg-plugin_template_wordpress_1 bash
cd wp-content/plugins/$WP_PLUGIN
composer install
composer all

Note: Most WordPress coding convention errors can be automatically fixed by running composer fix

Visit http://localhost:8080/wp-login.php

React

docker run --rm -u node:node -v $(pwd):/usr/local/src -w /usr/local/src -ti node:lts-alpine ash
npm install
npm start
npm build

Plugins