Skip to content

attsumi/sponsor-app

This branch is 1 commit ahead of, 197 commits behind ruby-no-kai/sponsor-app:master.

Folders and files

NameName
Last commit message
Last commit date
Dec 1, 2019
Nov 20, 2019
Nov 20, 2019
Nov 20, 2019
Nov 4, 2018
Nov 4, 2018
Nov 28, 2018
Apr 11, 2019
Nov 4, 2018
Nov 4, 2018
Nov 20, 2019
Nov 4, 2018
Nov 6, 2018
Nov 25, 2019
Nov 4, 2018
Nov 4, 2018
Nov 20, 2019
Nov 20, 2019
Nov 8, 2018
Apr 9, 2019
Mar 3, 2019
Nov 9, 2018
Nov 12, 2018
Nov 4, 2018
Nov 20, 2019
Nov 9, 2018
Nov 20, 2019

Repository files navigation

SponsorApp2

Development

rails s
./bin/webpack --watch

Environment variables

(RubyKaigi organizers: see also https://rubykaigi.esa.io/posts/815)

  • DATABASE_URL
  • ORG_NAME Your team name
  • DEFAULT_EMAIL_ADDRESS Default "From" address for outgoing emails
  • DEFAULT_EMAIL_HOST Message-ID host part for outgoing emails
  • DEFAULT_URL_HOST URL host used for outgoing emails

AWS

  • S3_FILES_REGION S3 region name
  • S3_FILES_BUCKET S3 bucket name
  • S3_FILES_PREFIX (optional)
  • S3_FILES_ROLE IAM Role ARN which allows s3:PutBucket to all objects on the bucket
    • You also have to supply a valid AWS credentials to the app in a standard SDK way, e.g. IAM instance profile, ECS task IAM role, and ENV['AWS_ACCESS_KEY_ID'].

GitHub

This app requires "GitHub App" with: Repository Metadata (Read-only), Repository Content (Read & Write). And you need to manually install the app to the repositories.

  • GITHUB_REPO specify in ":login/:repo" format; used for authorization.
  • GITHUB_CLIENT_ID
  • GITHUB_CLIENT_SECRET
  • GITHUB_APP_ID
  • GITHUB_CLIENT_PRIVATE_KEY (Base64 encoded DER)
    • openssl pkey -in /path/to/private-key.pem -outform der | openssl base64 -A
    • (or concat Base64 part of PEM into a one line)

But during development, you can pass $BACKDOOR_SECRET to the application, then go http://localhost:3000/admin/session/new?backdoor=BACKDOOR_SECRET&login=YOUR_GITHUB_LOGIN to login without genuine OAuth2 dance.

Slack

  • SLACK_WEBHOOK_URL

Sentry (optional)

  • SENTRY_DSN

Roadmap

  • Accept application
    • Logo upload
    • Confirmation Email
    • Authentication
  • Organizer Dashboard
    • Authentication
  • Editing history
  • Sponsor Portal
    • Announcements
    • Additional tickets submission
    • Booth details submission (?)
  • CRM
    • GitHub integration
    • Front integration
    • Esa integration
  • Invoicing
    • Export to Google Spreadsheet(?)

Oversights

  • profile words limit
  • withdrawing

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 60.3%
  • HTML 30.6%
  • TypeScript 8.1%
  • Other 1.0%