Skip to content

📋 Hackathon registration portal for DO!Hack. Allows you to validate university emails and easily manage users event applications.

License

Notifications You must be signed in to change notification settings

cristianosoy/portal

Repository files navigation

DO!Hack - Hackathon registration portal

Build Status Scrutinizer Software License

This is the hackathon registration portal for DO!Hack 2017. It´s implemented as a Sprinkle for UserFrosting. It was developed by iGore and me.

Installation

Edit your app/sprinkles.json:

{
    "require": {
        "splitt3r/portal": "dev-master"
    },
    "base": [
        "core",
        "account",
        "admin",
        "portal"
    ]
}

In your root folder do:

composer update --no-dev
php bakery bake

Configuration

You have to remove the uri_dashboard rigth from the default user role and add it to the other ones.

Swot / University Import

You can import recent Swot changes by simply running:

php bakery import

For this to work you need to specify the path to your locally checked out Swot copy in the sprinkles config files.

Send statistics to Slack

You need to add the following line to your .env file:

SLACK_WEBHOOK=https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX

And add the following command as a cronjob (Should be run once a day)

php bakery slack

Send emails to user groups

You can for example automatically send reminder emails to users who registered but didn´t create an application yet:

php bakery email --application (all|with|without) --template application-remind

The email template needs to exist as application-remind.html.twig in the template/mail directory.

Style Guide

PHP: UF Style Guide

HTML & CSS: Code Guide by @mdo

Dependencies

Base system: UserFrosting

Email validation: Swot

About

📋 Hackathon registration portal for DO!Hack. Allows you to validate university emails and easily manage users event applications.

Resources

License

Stars

Watchers

Forks

Packages

No packages published