Sign inSign up

kchwr/participate

By kchwr

•Updated 5 months ago

Apache Wicket project for planning project choir weekends.

Image
1

4.8K

kchwr/participate repository overview

⁠Wicket Participate

At the end of 2016 I have heard of the Apache Wicket Framework and started to write a closed-source (now open-source) web application for one of my project choirs Kammerchor Wernigerode. We had trouble to plan our weekends because some singers did not answer to invitations of the board members.

⁠Setup

Copy or move the sample files in the rest and configure your properties.

cp src/main/resources/application.sample.properties src/main/resources/application.properties

cp src/main/resources/liquibase.sample.properties src/main/resources/liquibase.properties

Install the maven dependencies.

mvn install

You'll need a MySQL database or a running Docker Container with MySQL. Start the application with

mvn spring-boot:run
⁠Docker

Start a container with

docker run \
 --env APPLICATION_NAME='Application Name' \
 --env APPLICATION_CUSTOMER='Application Customer' \
 --env APPLICATION_PASSWORD='application_password' \
 --env DATABASE_HOST='mysql' \
 --env DATABASE_PORT=3306 \
 --env DATABASE_NAME='participate' \
 --env DATABASE_USER='participate' \
 --env DATABASE_PASSWORD='participate' \
 --env SMTP_HOST='mail.domain.tld' \
 --env SMTP_PORT=587 \
 --env SMTP_USER='[email protected]' \
 --env SMTP_PASSWORD='mail_password' \
 --env MAIL_FROM='[email protected]' \
 --env MAIL_REPLY_TO='[email protected]' \
 --env BASE_URL='http://localhost:8080' \
 --env LOG_PATH=/tmp \
 -p 8080:8080 \
 --name participate \
 --link participate-db:mysql \
 kchwr/participate

make sure you are running a database container too.

The Docker example does not cover proprietary features. Check the Feature class for more information.


Navigate to tools/ and run

docker-compose up -d

to start a development database as well as FakeSMTP⁠. Received emails will be stored in $HOME/received-emails.

⁠Deployment

mvn clean package

creates an executable jar file. Start the application with

java -jar target/participate-2.9.5-SNAPSHOT.jar

on your machine. Don't forget to configure the properties files to fit your environment or follow the Docker instructions⁠ above to deploy the application with Docker.

⁠Features

Lately, two features have been added, which can be turned on and off by means of enabled-flag in the application.yml file.

⁠Remind overdue singers

If the feature is active, all participants who have not yet registered for the next event will receive another invitation by email. By default, all events are considered that are up to 14 days in the future.

The cron expression and the offset are configurable. However, the email address of the manager must be configured.

⁠Score's manager notification

Before the start of the next event, the score's manager will receive an email with a list of attending members. By default, all events are considered that are up to 7 days in the future.

The cron expression and the offset are configurable.

⁠Licence

Apache License 2.0 - Vinado⁠ - Built with :heart: in Dresden

Tag summary

Content type

Image

Digest

sha256:4356aac20…

Size

181 MB

Last updated

5 months ago

docker pull kchwr/participate