-
Notifications
You must be signed in to change notification settings - Fork 452
Comparing changes
Open a pull request
base repository: railsbridge/docs
base: main
head repository: railsbridge-nyc/docs
compare: master
Commits on Feb 11, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 8dd27cb - Browse repository at this point
Copy the full SHA 8dd27cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d5767d - Browse repository at this point
Copy the full SHA 4d5767dView commit details
Commits on Feb 12, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 0764607 - Browse repository at this point
Copy the full SHA 0764607View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6018f95 - Browse repository at this point
Copy the full SHA 6018f95View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9ed359 - Browse repository at this point
Copy the full SHA a9ed359View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e9fa77 - Browse repository at this point
Copy the full SHA 5e9fa77View commit details -
Configuration menu - View commit details
-
Copy full SHA for af54c41 - Browse repository at this point
Copy the full SHA af54c41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 695359d - Browse repository at this point
Copy the full SHA 695359dView commit details
Commits on Feb 17, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 143020c - Browse repository at this point
Copy the full SHA 143020cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 04ca35d - Browse repository at this point
Copy the full SHA 04ca35dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0038fc7 - Browse repository at this point
Copy the full SHA 0038fc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 051d2cb - Browse repository at this point
Copy the full SHA 051d2cbView commit details
Commits on Feb 19, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 7ebc503 - Browse repository at this point
Copy the full SHA 7ebc503View commit details
Commits on Mar 25, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 59a6294 - Browse repository at this point
Copy the full SHA 59a6294View commit details
Commits on Mar 27, 2018
-
Merge pull request #2 from M0nica/fix-server-instructions
updated server instructions to work in Vagrant
Christine Zagrobelny authoredMar 27, 2018 Configuration menu - View commit details
-
Copy full SHA for b7db20a - Browse repository at this point
Copy the full SHA b7db20aView commit details
Commits on Apr 24, 2018
-
Add docker instructions to installfest
Parinda Darden committedApr 24, 2018 Configuration menu - View commit details
-
Copy full SHA for e6a537f - Browse repository at this point
Copy the full SHA e6a537fView commit details
Commits on Apr 27, 2018
-
Parinda Darden committed
Apr 27, 2018 Configuration menu - View commit details
-
Copy full SHA for b517c21 - Browse repository at this point
Copy the full SHA b517c21View commit details -
Add docker instructions to Intro to Rails
Parinda Darden committedApr 27, 2018 Configuration menu - View commit details
-
Copy full SHA for 9b53d44 - Browse repository at this point
Copy the full SHA 9b53d44View commit details -
Parinda Darden committed
Apr 27, 2018 Configuration menu - View commit details
-
Copy full SHA for 8ce625e - Browse repository at this point
Copy the full SHA 8ce625eView commit details -
Adds docker instructions for Job Board
Parinda Darden committedApr 27, 2018 Configuration menu - View commit details
-
Copy full SHA for f39b76b - Browse repository at this point
Copy the full SHA f39b76bView commit details
Commits on Apr 30, 2018
-
fix syntax errors and split the create a rails app section into a sep…
…erate page for docker
Configuration menu - View commit details
-
Copy full SHA for dc4bbac - Browse repository at this point
Copy the full SHA dc4bbacView commit details
Commits on May 5, 2018
-
Configuration menu - View commit details
-
Copy full SHA for fff45c4 - Browse repository at this point
Copy the full SHA fff45c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b673cfa - Browse repository at this point
Copy the full SHA b673cfaView commit details
Commits on May 8, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 9788615 - Browse repository at this point
Copy the full SHA 9788615View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d9b2a7 - Browse repository at this point
Copy the full SHA 0d9b2a7View commit details -
Merge branch 'expand-mvc-focus-for-intro-to-rails' of github.com:rail…
…sbridge-nyc/docs into may-2018-workshop
Configuration menu - View commit details
-
Copy full SHA for 4502ae3 - Browse repository at this point
Copy the full SHA 4502ae3View commit details -
Merge branch 'add-hashes-to-ruby-basics' of github.com:railsbridge-ny…
…c/docs into may-2018-workshop
Configuration menu - View commit details
-
Copy full SHA for 80b816f - Browse repository at this point
Copy the full SHA 80b816fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 15a8f9f - Browse repository at this point
Copy the full SHA 15a8f9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ecbe67 - Browse repository at this point
Copy the full SHA 8ecbe67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04e955f - Browse repository at this point
Copy the full SHA 04e955fView commit details
Commits on May 14, 2018
-
Remove test active_support require
Doesn't make sense for Docker. The math portion is sufficient.
Configuration menu - View commit details
-
Copy full SHA for 3d210b5 - Browse repository at this point
Copy the full SHA 3d210b5View commit details -
This doesn't make sense to have with Docker. For now we'd rather remove it, although we could change this to move this into the Without Docker section and then in the With Docker section we could include the following exit output: ``` Stopping suggestotron_web_1 ... done Stopping suggestotron_db_1 ... done Removing suggestotron_web_1 ... done Removing suggestotron_web_run_3 ... done Removing suggestotron_web_run_2 ... done Removing suggestotron_web_run_1 ... done Removing suggestotron_db_1 ... done Removing network suggestotron_default ```
Configuration menu - View commit details
-
Copy full SHA for 6cf9538 - Browse repository at this point
Copy the full SHA 6cf9538View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f50e94 - Browse repository at this point
Copy the full SHA 1f50e94View commit details -
Configuration menu - View commit details
-
Copy full SHA for 73534f4 - Browse repository at this point
Copy the full SHA 73534f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a88354 - Browse repository at this point
Copy the full SHA 7a88354View commit details -
Copy the rails new info to both With/Without sections
Since the With Docker section is much longer due to the content that has to be copied into files, it felt really weird to be reading about `rails new` and that it would take awhile to run and output a lot of info. I included this with slightly different wording for the With Docker section since it uses `.` as the rails app name which means the current directory.
Configuration menu - View commit details
-
Copy full SHA for 0851c55 - Browse repository at this point
Copy the full SHA 0851c55View commit details -
While we describe each command, they are not always helpful in the context of the workshop, so for example when describing `docker-compose down` we now mention that if you have a Rails server running, this is the command you use to stop it.
Configuration menu - View commit details
-
Copy full SHA for 1d9394a - Browse repository at this point
Copy the full SHA 1d9394aView commit details -
Remove
--binstubs
from install and any user use ofbin/rails
We need to remove the " --binstubs" portion otherwise after following the job_board instructions if you run a `bin/rails` command you get the following very verbose help output **mixed with the output of the actual command you ran** (e.g. generate a controller) so that info gets lost in the mix. If I do the job_board setup with a Dockerfile that does NOT have the "--binstubs" portion I can then run any normal `rails` commands without the verbose binstub output pasted below. What I don't understand is why I didn't run into this on the IntroToRails setup. After that when I started the JobBoard I was running into this verbose binstub output. ``` job_board: (master) docker-compose run web rails generate controller jobs Starting job_board_db_1 ... done Beginning in Rails 4, Rails ships with a `rails` binstub at ./bin/rails that should be used instead of the Bundler-generated `rails` binstub. If you are seeing this message, your binstub at ./bin/rails was generated by Bundler instead of Rails. You might need to regenerate your `rails` binstub locally and add it to source control: rails app:update:bin # Bear in mind this generates other binstubs # too that you may or may not want (like yarn) If you already have Rails binstubs in source control, you might be inadverently overwriting them during deployment by using bundle install with the --binstubs option. If your application was created prior to Rails 4, here's how to upgrade: bundle config --delete bin # Turn off Bundler's stub generator rails app:update:bin # Use the new Rails executables git add bin # Add bin/ to source control You may need to remove bin/ from your .gitignore as well. When you install a gem whose executable you want to use in your app, generate it and add it to source control: bundle binstubs some-gem-name git add bin/new-executable create app/controllers/jobs_controller.rb invoke erb create app/views/jobs invoke helper create app/helpers/jobs_helper.rb invoke assets invoke coffee create app/assets/javascripts/jobs.coffee invoke scss create app/assets/stylesheets/jobs.scss Usage: rails new APP_PATH [options] Options: [--skip-namespace], [--no-skip-namespace] # Skip namespace (affects only isolated applications) -r, [--ruby=PATH] # Path to the Ruby binary of your choice # Default: /usr/local/bin/ruby -m, [--template=TEMPLATE] # Path to some application template (can be a filesystem path or URL) -d, [--database=DATABASE] # Preconfigure for selected database (options: mysql/postgresql/sqlite3/oracle/frontbase/ibm_db/sqlserver/jdbcmysql/jdbcsqlite3/jdbcpostgresql/jdbc) # Default: sqlite3 [--skip-yarn], [--no-skip-yarn] # Don't use Yarn for managing JavaScript dependencies [--skip-gemfile], [--no-skip-gemfile] # Don't create a Gemfile -G, [--skip-git], [--no-skip-git] # Skip .gitignore file [--skip-keeps], [--no-skip-keeps] # Skip source control .keep files -M, [--skip-action-mailer], [--no-skip-action-mailer] # Skip Action Mailer files -O, [--skip-active-record], [--no-skip-active-record] # Skip Active Record files [--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files -P, [--skip-puma], [--no-skip-puma] # Skip Puma related files -C, [--skip-action-cable], [--no-skip-action-cable] # Skip Action Cable files -S, [--skip-sprockets], [--no-skip-sprockets] # Skip Sprockets files [--skip-spring], [--no-skip-spring] # Don't install Spring application preloader [--skip-listen], [--no-skip-listen] # Don't generate configuration that depends on the listen gem [--skip-coffee], [--no-skip-coffee] # Don't use CoffeeScript -J, [--skip-javascript], [--no-skip-javascript] # Skip JavaScript files [--skip-turbolinks], [--no-skip-turbolinks] # Skip turbolinks gem -T, [--skip-test], [--no-skip-test] # Skip test files [--skip-system-test], [--no-skip-system-test] # Skip system test files [--skip-bootsnap], [--no-skip-bootsnap] # Skip bootsnap gem [--dev], [--no-dev] # Setup the application with Gemfile pointing to your Rails checkout [--edge], [--no-edge] # Setup the application with Gemfile pointing to Rails repository [--rc=RC] # Path to file containing extra configuration options for rails command [--no-rc], [--no-no-rc] # Skip loading of extra configuration options from .railsrc file [--api], [--no-api] # Preconfigure smaller stack for API only apps -B, [--skip-bundle], [--no-skip-bundle] # Don't run bundle install [--webpack=WEBPACK] # Preconfigure for app-like JavaScript with Webpack (options: react/vue/angular/elm/stimulus) Runtime options: -f, [--force] # Overwrite files that already exist -p, [--pretend], [--no-pretend] # Run but do not make any changes -q, [--quiet], [--no-quiet] # Suppress status output -s, [--skip], [--no-skip] # Skip files that already exist Rails options: -h, [--help], [--no-help] # Show this help message and quit -v, [--version], [--no-version] # Show Rails version number and quit Description: The 'rails new' command creates a new Rails application with a default directory structure and configuration at the path you specify. You can specify extra command-line arguments to be used every time 'rails new' runs in the .railsrc configuration file in your home directory. Note that the arguments specified in the .railsrc file don't affect the defaults values shown above in this help message. Example: rails new ~/Code/Ruby/weblog This generates a skeletal Rails installation in ~/Code/Ruby/weblog. ```
Configuration menu - View commit details
-
Copy full SHA for 8009343 - Browse repository at this point
Copy the full SHA 8009343View commit details -
Configuration menu - View commit details
-
Copy full SHA for a564269 - Browse repository at this point
Copy the full SHA a564269View commit details -
Merge pull request #9 from railsbridge-nyc/may-2018-workshop
May 2018 workshop
Christine Zagrobelny authoredMay 14, 2018 Configuration menu - View commit details
-
Copy full SHA for 36df64d - Browse repository at this point
Copy the full SHA 36df64dView commit details
Commits on May 19, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 78c6dda - Browse repository at this point
Copy the full SHA 78c6ddaView commit details
Commits on May 30, 2018
-
Removes server.pid file before starting rails server. Adds .dockerign…
…ore file to instructions.
Parinda Darden committedMay 30, 2018 Configuration menu - View commit details
-
Copy full SHA for 610687f - Browse repository at this point
Copy the full SHA 610687fView commit details
Commits on Jun 1, 2018
-
Merge pull request #10 from railsbridge-nyc/docker-server-fix
Removes server.pid file before starting rails server. Adds .dockerig…
Christine Zagrobelny authoredJun 1, 2018 Configuration menu - View commit details
-
Copy full SHA for 196c856 - Browse repository at this point
Copy the full SHA 196c856View commit details
There are no files selected for viewing