OneFeed is a social media aggregator that allows users to stream multiple social media accounts and post back to them.
- Change scripts/create_databases.sql to create both your development and test databases.
- Create a
.envfile and add your apps API keys and API secrets. You will need to register your app for each social media site. See the.env.examplefile.
You will also need to add a SendGrid username and password to your production environment variables in order to send emails. This will look something like this:
SENDGRID_PASSWORD:<YOUR SENDGRID PASSWORD>
SENDGRID_USERNAME:<YOUR SENDGRID USERNAME>
bundle install- Create the databases by running
psql -d postgres -f scripts/create_databases.sql - Run migrations using
rake db:migrateandRAILS_ENV=test rake db:migrate - Run Ruby tests using
rspecorrake spec - Run Javascript tests using
rake jasmineand opening your browser to localhost:8888
