Send email asynchroniously using Sidekiq.
Create your mailer us usual:
##Introduction to Background Workers
#####Repository
git clone https://github.com/turingschool-examples/loremore.git background_workers
If you don't have homebrew installed - get homebrew here
Then run: brew install elasticsearch
Update the elasticsearch configuration file in /usr/local/etc/elasticsearch/elasticsearch.yml.
| POST /cars/transactions/_bulk | |
| { "index": {}} | |
| { "price" : 10000, "color" : "red", "make" : "honda", "sold" : "2014-10-28" } | |
| { "index": {}} | |
| { "price" : 20000, "color" : "red", "make" : "honda", "sold" : "2014-11-05" } | |
| { "index": {}} | |
| { "price" : 30000, "color" : "green", "make" : "ford", "sold" : "2014-05-18" } | |
| { "index": {}} | |
| { "price" : 15000, "color" : "blue", "make" : "toyota", "sold" : "2014-07-02" } | |
| { "index": {}} |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>React.js Hello World!</title> | |
| <script src="https://fb.me/react-0.13.3.js"></script> | |
| <script src="https://fb.me/JSXTransformer-0.13.3.js"></script> | |
| </head> | |
| <body> |
Custom recipe to get OS X 10.11 El Capitan running from scratch with useful applications and Node.js Developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after fresh install.
| db: | |
| image: postgres | |
| ports: | |
| - "5432" | |
| redis: | |
| image: redis | |
| ports: | |
| - "6379" | |
##Add Searchkick to Rails 4 Project Shoutout to Ankane for creating the Searchkick gem. Also props to Mackenzie Child for his wonderful tutorial "How To Build a Movie Review App in Rails 4". At the end of the tutorial he covers how to install search into an app via the searchkick gem.
Download and install Java.
Install elasticsearch from the CLI:
$ brew install elasticsearch
If you already have elasticsearch installed, you can get more info:
| #!/usr/bin/env sh | |
| # checks to see if running | |
| launchctl list | grep elasticsearch | |
| launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.elasticsearch.plist | |
| launchctl remove homebrew.mxcl.elasticsearch | |
| pkill -f elasticsearch |