Giter Club home page Giter Club logo

midwest-dev-chat's Introduction

What is this?

Midwest Dev Chat is an awesome group of developers (software, web, etc) from the midwest who hang out daily using the great Slack messaging app.

Joining the chat group requires an invite from an admin. There's quite a few of us, but if you don't know who to ask then it makes joining a bit harder. Another thing I've been asked a few times is, "Is there a feed of the chats we can see on the web?"

Those two reasons are why I thought about putting this together. It provides a central website where someone can go to take a quick look at what's happening in the #generalchat channel (there's quite a few channels for different technogies, music, meetups, etc) and also request an invite directly.

How can you help?

I made this in a day, I'm not very good at Ruby/Rails, I'm not the best designer on Earth. I'm fairly certain there's better ways of handling some of the features I added, and that there are features I haven't even considered which would be awesome. If you have the skills to improve or add features, please help us out!

Dockerized for your pleasure

Now with docker files to make local setup a breeze.

  • Install Docker
  • cd into the app's folder
  • add: host: db in the database.yml file
  • create a docker volume for the db: docker volume create --name=postgresql-volume
  • run docker-compose build
  • run docker-compose up
  • in a seperate terminal window, run the db setup commands..
  • docker-compose exec web bundle exec rake db:create db:migrate

Gotchas

Two files are missing from this repo. The database.yml and secrets.yml from the config folder. They have, um.. secrets, so I didn't think it would be wise to check them in.

This is what they look like, but the identities have been changed to protect the innocent

database.yml

default: &default
  adapter: postgresql
  encoding: unicode
  pool: 5

development:
  <<: *default
  database: midwestdevchat_development

test:
  <<: *default
  database: midwestdevchat_test

production:
  <<: *default
  database: midwestdevchat_production
  username: midwestdevchat_user
  password: ''

secrets.yml

development:
  title: 'Midwest Dev Chat'
  secret_key_base: *secret_base*
  slack_domain: midwestdevchat
  slack_token: *token*
  slack_channel: *slack_channel*
  slack_webhook_url: *webhook_url*
  slack_api_key: *apikey*
  slack_api_secret: *apisecret*
  admin_email: *admin_email*
  sendgrid_user: *sendgrid_user*
  sendgrid_password: *sendgrid_password*
  restricted_channels:
  - *restricted_channel*
  - *restricted_channel*

test:
  secret_key_base: *secret_base*

production:
  title: 'Midwest Dev Chat'
  secret_key_base: *secret_base*
  slack_domain: midwestdevchat
  slack_token: *token*
  slack_channel: *slack_channel*
  slack_webhook_url: *webhook_url*
  slack_api_key: *apikey*
  slack_api_secret: *apisecret*  
  admin_email:
  - *admin_email*
  - *admin_email*
  sendgrid_user: *sendgrid_email*
  sendgrid_password: *sendgrid_password*
  restricted_channels:
  - *restricted_channel*
  - *restricted_channel*

That's it!

I hope I've given you enough info to get started. If you have any questions, feel free to reach out!

Thanks! Vis

midwest-dev-chat's People

Contributors

gitter-badger avatar jmhobbs avatar oobbles avatar skidvis avatar waffle-iron avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

midwest-dev-chat's Issues

API interface to job information

@skidvis can we add an endpoint to access job information, for the purpose of feeding a Slack bot with some data? I initially wanted to use the job opportunities spreadsheet as a data source to feed jacobroufa/jobbot but seeing as we're moving to a more user-friendly presentation outside of Slack, it would be nice to have programmatic access to this stuff.

My initial request is for a GET only api/devs (or any other appropriately named) endpoint from which to query the largest set of data. Everything else can be done from within the slack bot. Eventually it would be nice to add filters to that, e.g. api/devs/active or api/devs?availability=remote... sky is the limit really. Initially though, just a list will suffice.

Properly render code blocks.

When someone uses the GitHub Fenced Code Block syntax to show code (ex: this is inline code and this is a code block) it is rendered poorly. I looked into using the Rouge gem, but it conflicted with how I'm manually writing html in LinkHelper.rb

Admin interface

Experience where admins can accept or deny users who requested to be in the chat from the homepage.

New user form redirects to 404

As soon as you click on the first field of the new user submission form you get redirected here:
login

with the url:
https://serverless.com/%3E%20or%20%3Chttps://github.com/Miserlou/Zappa%3E%20or%20%3Chttps://claudiajs.com?rd=true

Parse emojis

Emojis are currently shown as text ( :simple_smile: ), it would be nice to turn those into the images they're supposed to be. There's an API from slack which provides the custom emojis that have been added by the Team's admins, but nothing for the stock emojis.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.