Giter Site home page Giter Site logo

dashtag's People

Contributors

anirudh-eka avatar bteng22 avatar daniehacks avatar ericksod avatar mlennon3 avatar parkdan avatar platramos avatar pturley avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

dashtag's Issues

Unknown configuration section 'librarian_puppet'

I'm having trouble setting up the app with vagrant. I recently pulled it down and followed the directions here. I have vagrant and virtual box downloaded on my machine. This is the output:

$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:

Vagrant:
* Unknown configuration section 'librarian_puppet'.

$ vagrant -v
Vagrant 1.6.3

I'm new to vagrant; so I'm probably missing something simple. Thanks for the help!

Explore other options instead of using singleton in API Service

Reason for using singleton:

The API Service is a singleton that stores the last time it pulls from Social Media in an instance variable. We used a singleton because:
1. We wanted a single instance of the service to interact with external api so that we don't hit any api rate limits.
2. We wanted to avoid storing this information in the db if possible because it would often be updated and we thought it would be cheaper as far as performance to have it simply live in memory

Questions:

  1. First of all, do any of the reasons above not make sense?
  2. When is it appropriate/not appropriate to use a singleton in a Rails App?
  3. What are some alternatives we could use?

Thanks!

@pturley, do you have any advice?

Write view tests for feed

Write more view tests for all of the components on the feed. Not all are covered currently.
Investigate: cannot locate links on page by post_id, but works for screen_name

Shut off access to any other port on DB from any other address

We need to be able to encrypt and decrypt them.

@pturley, do you have any suggestions on how to go about doing this? I was looking at ActiveSupport::MessageEncryptor. If I go down this route, it seems like a good idea to store the key and salt somewhere besides the db, like the environment. Am I thinking about this correctly?

Or is there something that is put into a rails environment that I can derive a key and salt for? I'm thinking about the SECRET_KEY_BASE. Is it good practice to use the same string as a salt and to generate the key (when initializing ActiveSupport::KeyGenerator)?

Thanks!

staging site is down

in the readme, users are recommended to view the staging site but it is not working. i receive an application error. see below.
screen shot 2015-03-19 at 10 09 40 am

Allow for a YAML file configuration for dashtag instances

Question: If we support configuring a dashtag instance by either environment variables or a yaml file, which should take prioritization? EG: if someone sets hashtag as "love" in the env, but "peace" in the config file, which should we go with?

Move Configuration from environment variables to storing in db

I wanted to record @pturley 's idea here. We can move most of the configuration from env variables to being stored in the db. This way creating a dashtag page would simply mean selecting a name for the heroku app, and maybe a username/password (which would probably live in the env?). Then after the page is deployed a user can visit the site, say:

http://foo.herokuapp.com

The dashtag page would check it's db if any of the configs are set. If not, it redirects the user to:

http://foo.herokuapp.com/config/new

where they will be prompted for the password they set and from their they can set all the configurations like credentials, colors, hashtags, etc. All this will be stored in the apps db. Later on, the user can edit these settings here:

http://foo.herokuapp.com/config/edit

This kind of logic would overlap with what's being done in the Dashtag Factory.

Make Setting 'private'

SettingService is the api to interact with Setting Model and the Settings table in the DB. Therefore, we should limit access to the Setting model to only the Setting Service

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.