demand-progress

(★ 58)

No description available.

File Explorer

  • .babelrc
  • .gitignore
  • .postcssrc.yml
  • .rspec
  • .rubocop.yml
  • .ruby-version
  • .tool-versions
  • .travis.yml
  • CODE_OF_CONDUCT.md
  • config.ru
  • CONTRIBUTING.md
  • cypress.json
  • Gemfile
  • Gemfile.lock
  • LICENSE
  • logfile
  • package-lock.json
  • package.json
  • Rakefile
  • README.md
  • USER-STORIES.md
  • yarn.lock

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

bundle

View Details ▼

Dependency manager for the Ruby programming language.

bundle install

Install all gems defined in the `Gemfile` expected in the working directory:

bundle exec {{command}} {{arguments}}

Execute a command in the context of the current bundle:

bundle update

Update all gems by the rules defined in the `Gemfile` and regenerate `Gemfile.lock`:

🔍

bundler

View Details ▼

This command is an alias of `bundle`.

tldr bundle

View documentation for the original command:

🔍

createuser

View Details ▼

Create a PostgreSQL user (role).

createuser --interactive {{username}}

Create a user interactively:

createuser {{username}}

Create a user with no special rights:

createuser {{[-s|--superuser]}} {{username}}

Create a superuser:

🔍

gem

View Details ▼

A package manager for the Ruby programming language.

gem search {{regex}} {{[-a|--all]}}

Search for remote gem(s) and show all available versions:

gem install {{gem_name}}

Install the latest version of a gem:

gem install {{gem_name}} {{[-v|--version]}} {{1.0.0}}

Install a specific version of a gem:

🔍

rails server

View Details ▼

Serve the Rails app in the current directory using the Puma web server, which comes bundled with Rails.

rails server

Run the web server:

rails server {{[-p|--port]}} {{port_number}}

Run the web server on a specified port:

rails server {{[-b|--binding]}} {{ip_address}}

Run the web server on a specified IP address:

🔍

rails

View Details ▼

A server-side MVC framework written in Ruby.
Some subcommands such as `generate` have their own usage documentation.

rails new "{{project_name}}"

Create a new rails project:

rails generate scaffold Post title:string body:text

Generate a scaffold for a model named Post, predefining the attributes title and body:

rails db:migrate

Run migrations:

🔍

rake

View Details ▼

A Make-like program for Ruby.
Tasks for `rake` are specified in a Rakefile.

rake

Run the `default` Rakefile task:

rake {{task}}

Run a specific task:

rake --jobs {{n}}

Execute `n` jobs at a time in parallel (number of CPU cores + 4 by default):

🔍

rbenv

View Details ▼

Easily install Ruby versions and manage application environments.
See also: `asdf`.

rbenv install {{version}}

Install a Ruby version:

rbenv install --list

Display a list of the latest stable versions for each Ruby:

rbenv versions

Display a list of installed Ruby versions:

🔍

rvm

View Details ▼

Easily installing, managing, and working with multiple ruby environments.

rvm install {{version1 version2 ...}}

Install one or more versions of Ruby:

rvm list

Display a list of installed versions:

rvm use {{version}}

Use a specific version of Ruby:

🔍

yarn

View Details ▼

JavaScript and Node.js package manager alternative.

yarn global add {{module_name}}

Install a module globally:

yarn install

Install all dependencies referenced in the `package.json` file (the `install` is optional):

yarn add {{module_name}}@{{version}}

Install a module and save it as a dependency to the `package.json` file (add `--dev` to save as a dev dependency):

// repository documentation