2nd major project for General Assembly's Web Development Immersive
JavaScript Ruby CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
db
lib
log
public
solr/pids/development
spec
test
test_mp3s
vendor/assets
.gitignore
Gemfile
Gemfile.lock
Procfile
README.md
Rakefile
config.ru
dump.rdb
status

README.md

#AudioFile

##About AudioFile was built in four days by a team of four as part of General Assembly's Web Development Immersive. It is an audio sharing platform, built with longform podcasts and public radio shows in mind. Users can upload audio clips and then create a "snippet" of that clip, which will link to a shorter subsection, allowing for easy sharing of your favorite moment in a longer piece.

The app is still in its early stages, but you can play around with the alpha version at audiofile.herokuapp.com, or clone this repo and run it locally (instructions below).

##Technologies

  • Ruby on Rails, JavaScript, JQuery
  • PostgreSQL
  • Solr Sunspot
  • Devise
  • Google Maps API
  • Amazon S3
  • Paperclip
  • HTML5 audio
  • Sidekiq
  • Imagemagick

##Setup instructions (You'll need an Amazon S3 account for file uploads to work)

  1. clone the repo and bundle install

  2. install Imagemagick - if you use homebrew, $ brew install imagemagick

  3. create a .env file in the root directory with the following environment variables:

     # generate this by running $rake secret
     SECRET_KEY_BASE
     
     # get this info from your S3 account
     S3_BUCKET_NAME
     AWS_ACCESS_KEY_ID
     AWS_SECRET_ACCESS_KEY
     
     # use any random string for this
     IMG_KEY
    
  4. If you have Redis installed, start a Redis server: $ redis-server

  5. Start up Sidekiq: $ bundle exec sidekiq

  6. Start up Sunspot: $ bundle exec rake sunspot:solr:start

  7. Now you should be able to start the rails server and run it locally