GithubHelp home page GithubHelp logo

twhite96 / try_rails_presentation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from andrew-max/rails-seminar-materials

0.0 3.0 0.0 1.7 MB

The app and materials related to the presentation I am giving at the Try New Tech meetup in Pittsburgh

License: MIT License

Ruby 65.20% JavaScript 1.43% CSS 8.72% HTML 24.66%

try_rails_presentation's Introduction

try_rails_presentation

Check out the "create-a-rails-app" branch for a version of this site which has been turned into a project with detailed instructions for the user to recreate the whole site!

to get into that branch go to the terminal and use the command: git checkout create-a-rails-app

the code in your try_rails presentation directory will now, through the magic of git, be the project version. Read the readme file in that directory for instructions on how to get started on the project.

Steps to get your new rails app all nice and good.

(Based on my experience getting environments up on my ubuntu box). See below for Windows setup instuctions.

  1. Have a computer

  2. Have ruby (I recommend installing rubies through rvm) to get rvm use the command : curl -sSL https://get.rvm.io | bash -s stable followed by rvm install ruby 2.1.1 and rvm use ruby 2.1.1

  3. Have git (if you use linux type the following in the command line:) sudo apt-get install git if you're a Mac user, figure it out yourslef ya hipster! Basically just grab it with homebrew Best of luck brave warrior.

  4. in the command line : git clone https://github.com/Andrew-Max/try_rails_presentation.git cd try_rails_presentation gem install bundler bundle rake db:migrate

If all of these have succeeded you can go to the url 'localhost:3000' (note: no www just type that exactly)in your browsser and the app will be up and running

If you get failures at any point along the way, copy and paste the error messages you get into google for tips on how to resolve the issue.

This is far from an exhaustive list of steps but its aproximately what you'll need

If you are looking for more detailed instructions the first chapter of http://www.railstutorial.org/book is a fantastic and detailed resource for setting up rails environments

=== Windows Setup

  1. Install Ruby 1.9.3 from http://rubyinstaller.org/downloads/
  • Install to C:\Ruby193
  • Make sure to check the box, "Add ruby executables to your path"
  1. Install the ruby dev kit from http://rubyinstaller.org/downloads/
  • Extract it to C:\RubyDev
  • Open a new command prompt and run cd c:\RubyDev ruby dk.rb init ruby dk.rb install
  1. Install bundler gem install bundler

  2. Install git from http://git-scm.com/download/win

  • Make sure to select the option, "Use git from the Windows Command Prompt" to add the binaries to your path.
  1. Open a command prompt and run git clone [email protected]:Andrew-Max/fresh_rails_4.1.1.git cd fresh_rails_4.1.1/ bundle

  2. Make sure it works rails server Navigate to http://localhost:3000/

try_rails_presentation's People

Contributors

andrew-max avatar

Watchers

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