Sha256: 413ded9fc5e88839655af4689139970448925ccb42d715de245f645e5263ee2d

Contents?: true

Size: 1.04 KB

Versions: 19

Compression:

Stored size: 1.04 KB

Contents

---
title: Getting started with Rails app projects
section: rails
toc: false
---

## Create a new Rails app project

To create a new Rails project, type `shopify create rails`. This will scaffold a new Rails app in a subdirectory.

```console
$ shopify create rails
? App Name
>
```

## Start a local development server

Once your app is created, you can work with it immediately by running `shopify serve` to start a local development server. Shopify App CLI uses [ngrok](https://ngrok.com) to create a tunnel. ngrok will choose a unique URL for you. The server will stay open until you type **Ctrl-C**.

```console
$ shopify serve
✓ ngrok tunnel running at https://example.ngrok.io
✓ writing .env file...
```

## Install your app on your development store

With the server running, open a new terminal window and run `shopify open` to open your app in your browser and install it on a development store.

```console
$ shopify open
```

For more information, consult the [Rails project command reference]({{ site.baseurl }}{% link app/rails/commands/index.md %}).

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
shopify-cli-1.5.0 docs/app/rails/index.md
shopify-cli-1.4.1 docs/app/rails/index.md
shopify-cli-1.4.0 docs/app/rails/index.md
shopify-cli-1.3.1 docs/app/rails/index.md
shopify-cli-1.3.0 docs/app/rails/index.md
shopify-cli-1.2.0 docs/app/rails/index.md
shopify-cli-1.1.2 docs/app/rails/index.md
shopify-cli-1.1.1 docs/app/rails/index.md
shopify-cli-1.1.0 docs/app/rails/index.md
shopify-cli-1.0.5 docs/app/rails/index.md
shopify-cli-1.0.4 docs/app/rails/index.md
shopify-cli-1.0.3 docs/app/rails/index.md
shopify-cli-1.0.2 docs/app/rails/index.md
shopify-cli-1.0.1 docs/app/rails/index.md
shopify-cli-1.0.0 docs/app/rails/index.md
shopify-cli-0.9.3 docs/app/rails/index.md
shopify-cli-0.9.2 docs/app/rails/index.md
shopify-cli-0.9.1 docs/app/rails/index.md
shopify-cli-0.9.0 docs/app/rails/index.md