Giter Site home page Giter Site logo

adota2league's Introduction

Setting up this app with Heroku

Currently, TinyTDS (MSSQL Adapter) needs a special buildpack on Heroku. To get around this: heroku config:add BUILDPACK_URL=github.com/Helabs/heroku-buildpack-ruby-freetds.git

After creating your app or setting up your existing app to use the buildpack, you need to modify the DATABASE_URL config variable to point to your sqlserver instance. We currently use a SQL Server 2008 Express edition:

heroku config:add DATABASE_URL=sqlserver://username:password@sqlserver_host:1433/database_name

Finally, we need to add the data from application.yml (our Dota2 API key and so on). Since we use Figaro (see that gem page for more info), we can simply run rake figaro:heroku, which will set all our variables on heroku. An application.sample.yml is included to show an example of what would be needed.

Rails 4

Recent migration to Rails 4 was a minimal effort update, meaning some things might not be best practices. Some things to evaluate:

  • config/secrets.yml

  • upgraded cookie signing (secret_key_base)

  • Web Console…do we want it?

  • have our milliseconds desynched anywhere (to_json)

  • PATCH vs PUT

Polymorphism

As we make the scheduling and tournament system more generic:

  • Fix: Relys on one participant_type per season

Tournaments

Implementing native single and double elimination tournaments:

  • Jquery Plugin needs tweaks (maybe cherry picks) to not hover nil teams, fix CSS class naming to not conflict with bootstrap (SUIT?), handle better inline editing callbacks

  • Double elimination needs to be implmented

Cap Notes

  • vagrant up –provider=aws

  • cap production nginx:setup

  • cap production unicorn:setup_app_config

  • cap production unicorn:setup_initializer

  • cap production linked_files:upload_files

  • Incremental:

  • cap production deploy

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.