Giter VIP home page Giter VIP logo

classic's Introduction

WaxPoeticRecords.com

Build Status

The official site of Wax Poetic Records, an open-source record label from Philadelphia. On the surface, this application powers http://www.waxpoeticrecords.com and serves a speedy and simple marketing site for the label. Powering this front-end is a central repository for all information related to the label, including the artist roster, release catalog, upcoming events, and social media automation features. In addition to the marketing site consuming this backend information, it's also provided as an API to power our various band marketing sites such as http://www.thewonderbars.com and http://www.rnd.club, which are simple front-end apps that call out to this API for information.

Features

  • Artist and Release catalog
  • Automated promotional support for new releases on social media
  • JSON API for powering additional marketing sites
  • Frontend marketing site powered by ES6, Haml and SCSS.
  • Events database and artists CMS powered by Facebook

Feature Roadmap

  • Post new Releases to Twitter, Facebook and Instagram
  • Layout re-design, make it less boring

Development

To develop on this app, you must have the following installed onto your system:

  • Ruby 2.3.0
  • PostgreSQL 9.3 or above
  • PhantomJS

Setup

Clone this repo down:

git clone [email protected]:waxpoetic/waxpoeticrecords.com.git

Install dependencies and stand up the database:

bundle install
rake db:setup

Start the Rails server:

bin/rails server

Running Tests

A passing build is required for all contributions to this repo. Make sure the build passes by running tests on your local machine, and fixing them if they're broken:

bin/rake test

You can also run different suites of tests for faster results:

bin/rake test:units
bin/rake test:features

Deployment

Deployments are performed automatically using Travis CI. All pushes to master will be deployed to the staging server at http://dev.waxpoeticrecords.com, and all tag pushes will result in a deployment to the production site at http://www.waxpoeticrecords.com.

To bump the version number, tag a new release, and deploy it, run the following Rake task:

bin/rake release

You can specify what kind of release you want to deploy:

bin/rake release:patch
bin/rake release:minor
bin/rake release:major

Contributions

We accept contributions in the form of a pull request, and with a passing build that adheres to this README and the CODE OF CONDUCT.

classic's People

Contributors

tubbo avatar

Stargazers

 avatar

Watchers

 avatar  avatar

classic's Issues

PG::ConnectionBad: could not connect to server: Connection refused Is the server running on host "ec2-54-235-242-31.compute-1.amazonaws.com" (10.138.56.245) and accepting TCP/IP connections on port 5432?

Check full details on Airbrake: #71240761

Backtrace:

```
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.15/lib/active_record/connection_adapters/postgresql_adapter.rb:1222:in initialize
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.15/lib/active_record/connection_adapters/postgresql_adapter.rb:1222:in new
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.15/lib/active_record/connection_adapters/postgresql_adapter.rb:1222:in connect
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.15/lib/active_record/connection_adapters/postgresql_adapter.rb:324:in initialize
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.15/lib/active_record/connection_adapters/postgresql_adapter.rb:28:in new
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.15/lib/active_record/connection_adapters/postgresql_adapter.rb:28:in postgresql_connection
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.15/lib/active_record/connection_adapters/abstract/connection_pool.rb:315:in new_connection
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.15/lib/active_record/connection_adapters/abstract/connection_pool.rb:325:in checkout_new_connection
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.15/lib/active_record/connection_adapters/abstract/connection_pool.rb:247:in block (2 levels) in checkout
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.15/lib/active_record/connection_adapters/abstract/connection_pool.rb:242:in loop
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.15/lib/active_record/connection_adapters/abstract/connection_pool.rb:242:in block in checkout
[PROJECT_ROOT]/vendor/ruby-2.0.0/lib/ruby/2.0.0/monitor.rb:211:in mon_synchronize
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.15/lib/active_record/connection_adapters/abstract/connection_pool.rb:239:in checkout
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.15/lib/active_record/connection_adapters/abstract/connection_pool.rb:102:in block in connection
[PROJECT_ROOT]/vendor/ruby-2.0.0/lib/ruby/2.0.0/monitor.rb:211:in mon_synchronize
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.15/lib/active_record/connection_adapters/abstract/connection_pool.rb:101:in connection
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.15/lib/active_record/connection_adapters/abstract/connection_pool.rb:410:in retrieve_connection
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.15/lib/active_record/connection_adapters/abstract/connection_specification.rb:171:in retrieve_connection
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.15/lib/active_record/connection_adapters/abstract/connection_specification.rb:145:in connection
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.15/lib/active_record/query_cache.rb:67:in rescue in call
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.15/lib/active_record/query_cache.rb:61:in call
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.15/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in call
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.15/lib/action_dispatch/middleware/callbacks.rb:28:in block in call
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:405:in _run__3104844381361807723__call__756825626095091886__callbacks
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:405:in __run_callback
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:385:in _run_call_callbacks
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:81:in run_callbacks
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.15/lib/action_dispatch/middleware/callbacks.rb:27:in call
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/sendfile.rb:102:in call
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.15/lib/action_dispatch/middleware/remote_ip.rb:31:in call
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.15/lib/action_dispatch/middleware/debug_exceptions.rb:16:in call
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.15/lib/action_dispatch/middleware/show_exceptions.rb:56:in call
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/railties-3.2.15/lib/rails/rack/logger.rb:32:in call_app
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/railties-3.2.15/lib/rails/rack/logger.rb:16:in block in call
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/tagged_logging.rb:22:in tagged
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/railties-3.2.15/lib/rails/rack/logger.rb:16:in call
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.15/lib/action_dispatch/middleware/request_id.rb:22:in call
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in call
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/runtime.rb:17:in call
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.15/lib/action_dispatch/middleware/static.rb:63:in call
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in forward
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:143:in pass
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:172:in rescue in lookup
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:168:in lookup
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in call!
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in call
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/railties-3.2.15/lib/rails/engine.rb:484:in call
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/railties-3.2.15/lib/rails/application.rb:231:in call
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/content_length.rb:14:in call
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/railties-3.2.15/lib/rails/rack/log_tailer.rb:17:in call
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/puma-2.6.0/lib/puma/server.rb:486:in handle_request
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/puma-2.6.0/lib/puma/server.rb:357:in process_client
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/puma-2.6.0/lib/puma/server.rb:250:in block in run
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/puma-2.6.0/lib/puma/thread_pool.rb:92:in call
[PROJECT_ROOT]/vendor/bundle/ruby/2.0.0/gems/puma-2.6.0/lib/puma/thread_pool.rb:92:in block in spawn_thread
```

AirbrakeTestingException: Testing airbrake via "rake airbrake:test". If you can see this, it works.

Check full details on Airbrake: https://waxpoetic.airbrake.io/projects/91586/groups/68199553?auth_token=0515139fcbdd3041bffe8a58638bc31ad5cf0a6b

[PROJECT_ROOT]/vendor/gems/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:407:in _run__1044430449595164191__process_action__2548200375591492876__callbacks
[PROJECT_ROOT]/vendor/gems/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in __run_callback
[PROJECT_ROOT]/vendor/gems/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:385:in _run_process_action_callbacks
[PROJECT_ROOT]/vendor/gems/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:81:in run_callbacks
[PROJECT_ROOT]/vendor/gems/gems/actionpack-3.2.14/lib/abstract_controller/callbacks.rb:17:in process_action
[PROJECT_ROOT]/vendor/gems/gems/actionpack-3.2.14/lib/action_controller/metal/rescue.rb:29:in process_action
[PROJECT_ROOT]/vendor/gems/gems/actionpack-3.2.14/lib/action_controller/metal/instrumentation.rb:30:in block in process_action
[PROJECT_ROOT]/vendor/gems/gems/activesupport-3.2.14/lib/active_support/notifications.rb:123:in block in instrument
[PROJECT_ROOT]/vendor/gems/gems/activesupport-3.2.14/lib/active_support/notifications/instrumenter.rb:20:in instrument
[PROJECT_ROOT]/vendor/gems/gems/activesupport-3.2.14/lib/active_support/notifications.rb:123:in instrument
[PROJECT_ROOT]/vendor/gems/gems/actionpack-3.2.14/lib/action_controller/metal/instrumentation.rb:29:in process_action
[PROJECT_ROOT]/vendor/gems/gems/actionpack-3.2.14/lib/action_controller/metal/params_wrapper.rb:207:in process_action
[PROJECT_ROOT]/vendor/gems/gems/activerecord-3.2.14/lib/active_record/railties/controller_runtime.rb:18:in process_action
[PROJECT_ROOT]/vendor/gems/gems/actionpack-3.2.14/lib/abstract_controller/base.rb:121:in process
[PROJECT_ROOT]/vendor/gems/gems/actionpack-3.2.14/lib/abstract_controller/rendering.rb:45:in process
[PROJECT_ROOT]/vendor/gems/gems/actionpack-3.2.14/lib/action_controller/metal.rb:203:in dispatch
[PROJECT_ROOT]/vendor/gems/gems/actionpack-3.2.14/lib/action_controller/metal/rack_delegation.rb:14:in dispatch
[PROJECT_ROOT]/vendor/gems/gems/actionpack-3.2.14/lib/action_controller/metal.rb:246:in block in action
[PROJECT_ROOT]/vendor/gems/gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:73:in call
[PROJECT_ROOT]/vendor/gems/gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:73:in dispatch
[PROJECT_ROOT]/vendor/gems/gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:36:in call
[PROJECT_ROOT]/vendor/gems/gems/journey-1.0.4/lib/journey/router.rb:68:in block in call
[PROJECT_ROOT]/vendor/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in each
[PROJECT_ROOT]/vendor/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in call
[PROJECT_ROOT]/vendor/gems/gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:608:in call
[PROJECT_ROOT]/vendor/gems/gems/warden-1.2.3/lib/warden/manager.rb:35:in block in call
[PROJECT_ROOT]/vendor/gems/gems/warden-1.2.3/lib/warden/manager.rb:34:in catch
[PROJECT_ROOT]/vendor/gems/gems/warden-1.2.3/lib/warden/manager.rb:34:in call
[PROJECT_ROOT]/vendor/gems/gems/actionpack-3.2.14/lib/action_dispatch/middleware/best_standards_support.rb:17:in call
[PROJECT_ROOT]/vendor/gems/gems/rack-1.4.5/lib/rack/etag.rb:23:in call
[PROJECT_ROOT]/vendor/gems/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in call
[PROJECT_ROOT]/vendor/gems/gems/actionpack-3.2.14/lib/action_dispatch/middleware/head.rb:14:in call
[PROJECT_ROOT]/vendor/gems/gems/actionpack-3.2.14/lib/action_dispatch/middleware/params_parser.rb:21:in call
[PROJECT_ROOT]/vendor/gems/gems/actionpack-3.2.14/lib/action_dispatch/middleware/flash.rb:242:in call
[PROJECT_ROOT]/vendor/gems/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in context
[PROJECT_ROOT]/vendor/gems/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in call
[PROJECT_ROOT]/vendor/gems/gems/actionpack-3.2.14/lib/action_dispatch/middleware/cookies.rb:341:in call
[PROJECT_ROOT]/vendor/gems/gems/activerecord-3.2.14/lib/active_record/query_cache.rb:64:in call
[PROJECT_ROOT]/vendor/gems/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in call
[PROJECT_ROOT]/vendor/gems/gems/actionpack-3.2.14/lib/action_dispatch/middleware/callbacks.rb:28:in block in call
[PROJECT_ROOT]/vendor/gems/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in _run__2161358044100456356__call__3631233277763752388__callbacks
[PROJECT_ROOT]/vendor/gems/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in __run_callback
[PROJECT_ROOT]/vendor/gems/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:385:in _run_call_callbacks
[PROJECT_ROOT]/vendor/gems/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:81:in run_callbacks
[PROJECT_ROOT]/vendor/gems/gems/actionpack-3.2.14/lib/action_dispatch/middleware/callbacks.rb:27:in call
[PROJECT_ROOT]/vendor/gems/gems/actionpack-3.2.14/lib/action_dispatch/middleware/remote_ip.rb:31:in call
[PROJECT_ROOT]/vendor/gems/gems/railties-3.2.14/lib/rails/rack/logger.rb:32:in call_app
[PROJECT_ROOT]/vendor/gems/gems/railties-3.2.14/lib/rails/rack/logger.rb:16:in block in call
[PROJECT_ROOT]/vendor/gems/gems/activesupport-3.2.14/lib/active_support/tagged_logging.rb:22:in tagged
[PROJECT_ROOT]/vendor/gems/gems/railties-3.2.14/lib/rails/rack/logger.rb:16:in call
[PROJECT_ROOT]/vendor/gems/gems/actionpack-3.2.14/lib/action_dispatch/middleware/request_id.rb:22:in call
[PROJECT_ROOT]/vendor/gems/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in call
[PROJECT_ROOT]/vendor/gems/gems/rack-1.4.5/lib/rack/runtime.rb:17:in call
[PROJECT_ROOT]/vendor/gems/gems/activesupport-3.2.14/lib/active_support/cache/strategy/local_cache.rb:72:in call
[PROJECT_ROOT]/vendor/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in forward
[PROJECT_ROOT]/vendor/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in fetch
[PROJECT_ROOT]/vendor/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in lookup
[PROJECT_ROOT]/vendor/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in call!
[PROJECT_ROOT]/vendor/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in call
[PROJECT_ROOT]/vendor/gems/gems/railties-3.2.14/lib/rails/engine.rb:484:in call
[PROJECT_ROOT]/vendor/gems/gems/railties-3.2.14/lib/rails/application.rb:231:in call
[PROJECT_ROOT]/vendor/gems/gems/rake-10.1.0/lib/rake/task.rb:236:in call
[PROJECT_ROOT]/vendor/gems/gems/rake-10.1.0/lib/rake/task.rb:236:in block in execute
[PROJECT_ROOT]/vendor/gems/gems/rake-10.1.0/lib/rake/task.rb:231:in each
[PROJECT_ROOT]/vendor/gems/gems/rake-10.1.0/lib/rake/task.rb:231:in execute
[PROJECT_ROOT]/vendor/gems/gems/rake-10.1.0/lib/rake/task.rb:175:in block in invoke_with_call_chain
/Users/tscott/.rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/monitor.rb:211:in mon_synchronize
[PROJECT_ROOT]/vendor/gems/gems/rake-10.1.0/lib/rake/task.rb:168:in invoke_with_call_chain
[PROJECT_ROOT]/vendor/gems/gems/rake-10.1.0/lib/rake/task.rb:161:in invoke
[PROJECT_ROOT]/vendor/gems/gems/rake-10.1.0/lib/rake/application.rb:149:in invoke_task
[PROJECT_ROOT]/vendor/gems/gems/rake-10.1.0/lib/rake/application.rb:106:in block (2 levels) in top_level
[PROJECT_ROOT]/vendor/gems/gems/rake-10.1.0/lib/rake/application.rb:106:in each
[PROJECT_ROOT]/vendor/gems/gems/rake-10.1.0/lib/rake/application.rb:106:in block in top_level
[PROJECT_ROOT]/vendor/gems/gems/rake-10.1.0/lib/rake/application.rb:115:in run_with_threads
[PROJECT_ROOT]/vendor/gems/gems/rake-10.1.0/lib/rake/application.rb:100:in top_level
[PROJECT_ROOT]/vendor/gems/gems/rake-10.1.0/lib/rake/application.rb:78:in block in run
[PROJECT_ROOT]/vendor/gems/gems/rake-10.1.0/lib/rake/application.rb:165:in standard_exception_handling
[PROJECT_ROOT]/vendor/gems/gems/rake-10.1.0/lib/rake/application.rb:75:in run
[PROJECT_ROOT]/vendor/gems/gems/rake-10.1.0/bin/rake:33:in <top (required)>
[PROJECT_ROOT]/vendor/gems/bin/rake:16:in load
[PROJECT_ROOT]/vendor/gems/bin/rake:16:in <main>

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.