Git Product home page Git Product 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

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

Watchers

James Cloos avatar

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.