Skip to content

Break down bash script as suggested #380

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions public/install-gm-frontend-app.sh

This file was deleted.

21 changes: 18 additions & 3 deletions tutorials/gm-world-frontend.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,27 @@ curl -sSL https://rollkit.dev/install-yarn.sh | bash -s {{constants.nodeVersion}

:::

## 🚀 Starting an app
## 📦 Cloning the repo

We've simplified the process by preparing a repository with the necessary scaffolding and configuration for our local rollup. Run a command to download the code, install dependencies, and start the development server:
First, clone the repo with a simple frontend app that connects to the rollup:

```bash
curl -sSL https://rollkit.dev/install-gm-frontend-app.sh | bash
git clone https://github.com/rollkit/gm-frontend.git
cd gm-frontend
```

Next, install the dependencies:

```bash
yarn
```

## 🚀 Running the app

Now, you can run the app using the following command:

```bash
yarn dev
```

You should see the following output indicating that the development server is up and running:
Expand Down
Loading