/bitparrot

An app I created so developers can track the info they need: now includes Twitter API feeds and Machine Learning, Python, and Ruby on Rails sections. Update: no longer being served, leaving public for the code.

Primary LanguageRubyMIT LicenseMIT

BitParrot.co

This is the code for the website BitParrot.co.

I conceived, designed, and built this myself. I did it because I was tired of tracking all the "bits" I needed to track in separate places so I built this "parrot" that does it for me.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

  • Postgres (OSX users can run brew install postgresql)
  • bundler (gem install bundler)
  • Ruby 2.3.1 (or whatever version this app is currently using, check the Gemfile)
  • Any environment variables you prefer to setup and use.

Installing

  • bundle install
  • (start your Postgres db)
  • rake db:create (TODO: create seed data)
  • (remember to migrate which in a Rails 5 app is raila db:migrate)

To create an initial admin user, fire up rails c and do the following:

u = User.create(username: "Whatever", password: "foo123456", email: "me@domain.org", password_confirmation: "foo123456")
u.activate!
u.is_admin = true
u.save

Running the server

  • rails s

Running the tests

There are pre-seeded rspec tests. To run these it is 'rspec spec' from your command line.

More about the tests

These pre-seeded tests include feature, model, and policy tests. See the RSpec folder for details.

Deployment

Since this is a Ruby application, deploying it to Heroku is easy.

Built With

  • Ruby
  • Rails 5
  • HAML

And the usual suspects including:

  • Html
  • CSS
  • Javascript

Contributing

This was built my Michelle Bonat. It's not currently open for contributions, but I would love to hear any comments and suggestions about how you have modified this code. Contact me through the methods noted below.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details