Giter Club home page Giter Club logo

css-koans's Introduction

CSS Koans - Front End

koan

noun ko·an \ˈkō-ˌän\

A paradox to be meditated upon that is used to train Zen Buddhist monks to abandon ultimate dependence on reason and to force them into gaining sudden intuitive enlightenment. -Merriam-Webster

Visit the Production App

System Setup

  1. Make sure you have a Ruby gem manager installed (e.g. RVM or Rbenv). Use Homebrew if you don't.
  2. Use your gem manager to install the Ruby version specified in .ruby-version.
  3. Install the Bundler gem with gem install bundler. If you're using Rbenv, run a rbenv rehash
  4. Install project dependencies with bundle install.
  5. Make sure you have Postgres installed. Use Homebrew or download the client if you don't.
  6. bundle install

Running the App

  1. bundle exec rails s
  2. Navigate to localhost:3000 in your browser

Testing

This project uses rspec, factory girl, database cleaner and faker for testing.

  1. Run rspec or bundle exec rspec to execute all of the tests.
  2. To run a particular test, run rspec spec/path/to/test/my_test.rb. You can append a line number like ...my_spec.rb:33 to run a specific test.

Other Dependencies

Postgres Database

  1. Make sure you have Postgres installed. Use Homebrew or download the client if you don't.
  2. Run rake db:setup to get started.
  3. Run rake db:test:prepare to get the database up and started for testing.

Paperclip & ImageMagick

The project uses the paperclip gem for image management.

In order to use Paperclip, you will need to install ImageMagick. If you have homebrew installed on OS-X you can run brew install imagemagick. You can also download the binary releases of ImageMagick.

Environment Variables

The project uses dotenv-rails to store environment variables.

  1. Copy the .env.example file to .env.
  2. Replace the values of the keys with the correct keys.
  3. Note that .env is excluded from git and should never be checked in or removed to the .gitignore file.

Copyright (c) 2015 Romeeka Gayhart, released under the MIT license

css-koans's People

Contributors

rrgayhart avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

sujithps

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.