Giter Club home page Giter Club logo

uno-classifieds's Introduction

UNO Classifieds

Getting Started

The UNO Classifieds application runs on Ruby version 2.3.3. Please note this before continuing.

Running with Ruby

The basic steps will be:

  1. Install Ruby
  2. Install Bundler
  3. Install gem dependencies
  4. Run the application

Windows

Installing Ruby

To install ruby on Windows the recommended procedure is to use the ruby_installer which you can download here.

After downloading, double click the exe in order to install ruby.

Next you must install the Development Kit which you can download here.

After downloading move the Development Kit into your home directory and double click to install it. Next open Powershell and run the following commands:

cd $home
ruby dk.rb init
ruby dk.rb install
Installing bundler
gem install bundler

Now navigate to this project's directory in Powershell.

Install gem dependencies
bundle install
Run the application
rails s

Navigate to localhost:3000 in your favorite web browser!

Done!

Unix

Installing Ruby

To install Ruby on a Unix machine the recommended procedure is to use RVM.

Open a terminal an run the following commands:

gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
\curl -sSL https://get.rvm.io | bash -s stable
# There will be some output about sourcing a file to make RVM work in the current shell copy, paste, and run the source command
rvm install ruby 2.3.3
Installing bundler
gem install bundler

Now navigate to this project's directory in your terminal.

Install gem dependencies
bundle install
Run the application
rails s

Navigate to localhost:3000 in your favorite web browser!

Done!

Running with Docker

For help installing Docker please refer to the installation docs.

Navigate to this project's directory in either your terminal or Powershell.

docker build .
# The command above will output a container ID that you can run.
docker run -it -p 3000:3000 <THE ID FROM ABOVE>

Navigate to localhost:3000 in your favorite web browser!

If this isn't working run docker-machine env to get the ip of the host machine and navigate to that IP at 3000.

Done!

Running Tests

We use RSpec for our unit tests. Running your test couldn't be simplier!

Running with Ruby:

bundle exec rspec

uno-classifieds's People

Contributors

smcculle avatar iseatz-automation avatar llacoste avatar robertantin avatar malkhafa avatar msbhuma avatar lalacos1 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.