Skip to content

Commit

Permalink
Break down bash script (#380)
Browse files Browse the repository at this point in the history
  • Loading branch information
yarikbratashchuk authored May 16, 2024
1 parent 4886bca commit d854667
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 12 deletions.
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

0 comments on commit d854667

Please sign in to comment.