Skip to content
This repository was archived by the owner on Jan 7, 2024. It is now read-only.

DevLearningSeries/hartl_tutorial_with_vscode

Repository files navigation

Ruby on Rails Hartl Tutorial configured for Visual Studio Code and a dev container

CAN IGNORE THE SECTION ON USING AWS' CLOUD IDE

PAGE 18 IS WHERE THE GOOD STUFF STARTS

  • This is a preconfigured environment to make getting started with Hartl easier.
  • Use gitpod to get up and running immediately or locally using a devcontainer
  • Works with Visual Studio Code, Docker and vscode dev containers. If using locally, will also need a git client.

Getting started with Gitpod

Getting started with Vscode devcontainers

  • Need Docker installed locally

Getting started

Creating your first rails app

  • Create a new rails app. rails new hello_app
  • CD into hello_app
  • Run rails server
  • Will be able to see the page at http://localhost:3000/ - Ports are automatically forwarded to local environment.

Ready for Ruby on Rails Tutorial.

Configuration for devcontainer

  • Rails
  • Postgres
  • Nodejs/yarn
  • Heroku CLI
  • Git
  • Developer gems for Ruby installed
    • RuboCop
    • Solargraph
  • Visual Studio Code Extensions
    • Name: Auto Add Brackets in String Interpolation
    • Name: Code Spell Checker
    • Name: docs-yaml
    • Name: EditorConfig for VS Code
    • Name: ESLint
    • Name: GitHub Pull Requests and Issues
    • Name: gitignore
    • Name: GitLens — Git supercharged
    • Name: Path Intellisense
    • Name: PostgreSQL
    • Name: Prettier - Code formatter
    • Name: Rails DB Schema
    • Name: Rails Routes
    • Name: Ruby
    • Name: Solargraph
    • Name: Ruby Syntax Replacer
    • Name: ruby-linter
    • Name: ruby-rubocop
    • Name: ruby-symbols
    • Name: SQLTools
    • Name: SQLTools PostgreSQL/Redshift Driver
    • Name: Text Power Tools
    • Name: Visual Studio IntelliCode
    • Name: YAML
    • Name: DotENV
    • Name: endwise
    • Name: GitHub Repositories
    • Name: Material Product Icons
    • Name: Peacock
    • Name: Rails Syntax Highlighting
    • Name: VSCode Ruby
    • Name: vscode-icons

About

Hartl Tutorial configuration for vscode and a devcontainer

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published