DO!Hack - Hackathon registration portal
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.
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
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.
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
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.
PHP: UF Style Guide
HTML & CSS: Code Guide by @mdo
Base system: UserFrosting
Email validation: Swot