Code Monkey home page Code Monkey logo

coding-environment's Introduction

Coding Environment Installation Guide

These instructions will setup a system that can be used as a development environment. When this process is finished, you will be able to run and work on projects using Ruby on Rails and PostgreSQL.

When this setup is finished, you will be able to preview a Ruby on Rails web application within a web browser that will look like the following.

preview

Select Your Operating System to Install

coding-environment's People

Contributors

ceckenrode avatar hsinkoff avatar kenmazaika avatar misterfoxy avatar poffdev avatar tammerg avatar tteltrab avatar zoebkramer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

coding-environment's Issues

Timeout Error When Creating Workspaces on Code Envy

Students are receiving this error when initially setting up codenvy:

image

I would suggest a paragraph or two about how to fix it (if there is one, I'm stumped) Or a link to instructions to set up the environment locally.

Error with Step 3 of account setup (account-setup.md)

There is an error that students have been frequently encountering when trying to link their Github accounts as in Step 3 of account-setup.md.

The error arises when students try to run the following command:

curl https://raw.githubusercontent.com/university-bootcamp/coding-environment/cloud-ide-instructions/github_auth.rb > ~/.bootcamp-github.rb && ruby ~/.bootcamp-github.rb

This is what the error message looks like:
https://imgur.com/a/AljB14c

So far, I have been sending students the following fix, which has been working successfully:

Try the following steps:

  1. Run the command gem install github_api in your terminal.
  2. Once the install finishes, run touch .bootcamp-github.rb.
  3. That command should have made an empty file called .bootcamp-github.rb. Find this file and open it in your text editor. It should be a hidden file inside of the coding-environment folder. If you press Command + Shift + . on a Mac you can view hidden files in the Finder.
  4. Then, copy and paste the following into the empty .bootcamp-github.rb file:
require 'github_api'
require 'io/console'

# Bypass annoying deprecation warning between the
# github_api gem and the faraday gem
Faraday::Builder = Faraday::RackBuilder

print "Github Username: "
user_name = gets.strip
print "Github Password (nothing will be displayed):"
password  = STDIN.noecho(&:gets).strip
github = Github.new(:login => user_name, :password => password)
github.users.keys.create("title" => "FirehoseVagrant", 
    "key"=> File.open("/home/vagrant/.ssh/id_rsa.pub").read)
puts "\nok!"
  1. Once you do that, save the .bootcamp-github.rb file. In your terminal, run ruby .bootcamp-github.rb.

Is there any way this or another (possibly more elegant) fix can be incorporated into the instructions?

Heroku Login Command Issue

Students are facing timeout issues when following the heroku login in the Accound Setup MD

Adding an option for heroku login --interactive will allow students to login through the command line without having the heroku cli open up a browswer window.

Step Six: Test #3

Based on the tutorial's verbiage, it appears the screenshot should be the "Yay! You're on Rails!" image.

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.