Git Product home page Git Product logo

harmonyplus's Introduction

Harmony Plus

Code Climate Test Coverage Issue Count Build Status

Coverage Status

๐Ÿš€ Pivotal Tracker:

๐Ÿš€ Heroku

๐Ÿš€ Team #37: Henry Gan, Yiran Rao, Hangpeng Zhao, Qianmei Luo, Xiaoyi Cheng, Shrayus Gupta


We use Searchkick gem to enable the search function on /manager page to filter/search student applications. If you use icloud9 or other web IDE, please make sure elastic search is running.

If you see "Connection refused = connect(2) for "localhost" port 9200 (Faraday::ConnectionFailed)", you definitely want to see the instructions below:

Here is the code to install and start elastic search. [reference]

# Firstly, uninstall:
sudo apt-get --purge autoremove elasticsearch

# then made a fresh install.
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.7.0.deb
sudo dpkg -i elasticsearch-1.7.0.deb

# enable on bootup
sudo update-rc.d elasticsearch defaults 95 10

Start the service:

# Start ElasticSearch 
sudo /etc/init.d/elasticsearch start

# Make sure service is running
curl http://localhost:9200

# Should return something like this:
# {
#  "status" : 200,
#  "name" : "Storm",
#  "version" : {
#    "number" : "1.3.1",
#    "build_hash" : "2de6dc5268c32fb49b205233c138d93aaf772015",
#    "build_timestamp" : "2014-07-28T14:45:15Z",
#    "build_snapshot" : false,
#    "lucene_version" : "4.9"
#  },
#  "tagline" : "You Know, for Search"
#}

Then

rake searchkick:reindex:CLASS=Student

The search feature should be functonal now~

harmonyplus's People

Contributors

ryrbsd avatar frankzhao3 avatar xyixyi avatar nytrox avatar qianmei avatar

Watchers

 avatar

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.