Giter VIP home page Giter VIP logo

mixed-results's Introduction

Arima


How do I get set up?

  • Ruby version

1.9.3+

  • Install Homebrew

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

  • Install RVM

\curl -sSL https://get.rvm.io | bash -s stable

  • Install Ruby

rvm install 2.2.0

  • Get commandline tools for Mac OSX

xcode-select --install

  • Install bundler gem and Install dependencies

gem install bundler bundle install

  • Configuration

See files in src/config

  • Start DB

pg_ctl -D /usr/local/var/postgres/ start

  • Configure local DB

createuser -s -r arima

  • Database setup

Copy config/database.yml.example to config/database.yml and run rake db:create db:migrate db:seed

  • Start Rails server

rails s

  • How to run the test suite

rake

  • Deployment instructions

capistrano...

  • Generate documentations

rake doc:app

Guidelines

  • Writing tests
  • Code review
  • Other guidelines

How do I use livereload?

  1. In one terminal window do: bundle exec guard
  2. In a second terminal window do: rails server

Why do we want this? Because this gives an added benefit of watching the changes in the css, js and html(erb) files. If any of these file are modified and saved livereload will automatically refresh the browser and you can see the changes. Now thats cool!

###FAQ

  1. Getting error message "Could not find guard-livereload-2.2.0 in any of the sources" solution: Please do bundle install

2.LiveReload isn't working? solution: Check if port 35729 is free. If the port is not free it follow the steps below before doing bundle exec guard again.

For MAC:

  1. To check if port is free do : lsof -i :35729
  2. To kill PID do: kill -9 Visit the website live at http://arima.io

mixed-results's People

Contributors

atsushi890 avatar rubsav avatar jffrymrtn avatar tonyideng avatar janocee avatar winstonll avatar jlee118 avatar

Watchers

James Cloos avatar  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.