Giter VIP home page Giter VIP logo

apolloio's Introduction

alt text

The best API tracking app of all time.

Setup

  1. Install postgresql with: brew install postgresql or apt-get install postgresql-9.2
  2. Copy .ruby-version.example to .ruby-version if you use a Ruby version manager such as RVM, rbenv or chruby
  3. Install gems with: bundle
  4. Get a client id/secret from Twitter at https://dev.twitter.com/apps/new
  1. Presuming you have Postgres installed (if not: brew install postgres):
  • create database with: rake db:setup or rake db:create
  1. Run the database migrations with rake db:migrate db:test:prepare.
  2. Run the database seed with rake db:seed. coming iteration
  3. Start the server with rails s
  4. Login at http://localhost:3000.

Testing

  1. Prepare the test environment with RACK_ENV=test rake db:migrate.
  2. Make sure that postgres is running.
  3. Run the test suite with rake test.
  4. Run individual tests with ruby -I test test/models/api_request_test.rb.
  5. To add VCR to any test that uses an api call, please wrap any http call in a
VCR.use_cassette('use any name here') do
end

Production Link

http://apollotheio.herokuapp.com/

alt text

alt text

alt text

License

MIT License

Copyright (C) 2014 Quentin Tai, Jonah Moses, Adam Magan, Romeeka Gayhart

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

apolloio's People

Contributors

quillyt avatar rrgayhart avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

x46672

apolloio's Issues

Selenium breaking user model test

Hi guys
Selenium is not getting picked up by the database cleaner and its creating a user in our test database. This user is created in our test database whether you run guard or rake test, but our test only fails when running guard. So the rake test command must be doing something different to guard for our test to not fail.
I think I can fix it before class tomorrow but if any of you find a solution please fix it

Linking a reminder to its goal

Hi guys
So am currently working on create new reminders in our app, there is one problem I have ran into. How do I scope a reminder to it's goal and pass it the correct goal
object to keep track off.
Because a goal has many reminders, so in the create action I can scope a
reminder to its current_user. But in order to scope it to a goal we either have to
pass it through the params which seems complex and unnecessary to me
or we can just scope it under goals in the routes file.
Am not sure so how about we discuss this tomorrow morning.
๐Ÿ˜•

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.