Skip to content

Latest commit

 

History

History
67 lines (43 loc) · 1.22 KB

README.md

File metadata and controls

67 lines (43 loc) · 1.22 KB

PostedUp 😎📲

Project Stack

  • Ruby: 2.4.0
  • Rails: 5.0.3
  • Database: postgresql
  • Job Queue: Sidekiq & Redis
  • Front End: HAML & SCSS (Bootstrap-Sass)
  • Authentication: Devise & CanCanCan
  • Image Uploads: Carrierwave & Dropbox
  • Tests: RSpec & Cucumber & Capybara-Webkit

Setting Up Your Environment

Install dependencies with:

bundle install

Get the evironment variables.

cp .env.sample .env

Create and seed the database

rails db:create
rails db:populate

Run the app locally:

rails server 

Processing Jobs 🤺

Start workers/Queue with:

This project depends on redis-server to run in the background when processing jobs. Install it with the gem or with brew.
brew install redis-server # optionally if you do not have redis-server on OSX
redis-server
Run the Job Queue
bundle exec sidekiq

Social Media Posts 📟

In Production, this app automatically links posts to the PostedUp Community Page on Facebook.

API Requests 👾

This app serves GET requests on /api/posts and /api/posts/:id