Skip to content

Commit

Permalink
Merge pull request #671 from pokt-foundation/README_update
Browse files Browse the repository at this point in the history
README update
  • Loading branch information
fredteumer authored Sep 11, 2024
2 parents c3175f8 + b891337 commit 2f6156b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 7 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ Merge PR from "stage" to "main" and vercel will build to prod environment

## Development

### Env

Make sure to get the `.env` from [1password](https://start.1password.com/open/i?a=4PU7ZENUCRCRTNSQWQ7PWCV2RM&v=kudw25ob4zcynmzmv2gv4qpkuq&i=usnpm5yls4p4vvtz5srqzuokz4&h=buildwithgrove.1password.com).

### Node Version

Ensure you're using node 18 (not 22).

### Frontend

To run your Remix app locally, make sure your project's local dependencies are installed:
Expand All @@ -28,6 +36,10 @@ To run your Remix app locally, make sure your project's local dependencies are i
pnpm install
```

```sh
pnpm build
```

Afterwards, start the Remix development server like so:

```sh
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import { Box, Center, Flex, Text } from "@mantine/core"
import { useParams } from "@remix-run/react"

import { AccountPlan } from "~/components/AccountPlan"
import RouteModal from "~/components/RouteModal"
import { PayPlanType } from "~/models/portal/sdk"
import RouteModal from "~/components/RouteModal"
import { useParams } from "@remix-run/react"

type AccountPlansContainerProps = {
onPlanSelected: (plan: PayPlanType.FreetierV0 | PayPlanType.PayAsYouGoV0) => void
onPlanSelected: (plan: PayPlanType.PlanFree | PayPlanType.PlanUnlimited) => void
}

const AccountPlansContainer = ({ onPlanSelected }: AccountPlansContainerProps) => {
Expand All @@ -19,12 +20,12 @@ const AccountPlansContainer = ({ onPlanSelected }: AccountPlansContainerProps) =
/>
<Flex gap="xl" justify="space-evenly">
<AccountPlan
type={PayPlanType.FreetierV0}
onContinue={() => onPlanSelected(PayPlanType.FreetierV0)}
type={PayPlanType.PlanFree}
onContinue={() => onPlanSelected(PayPlanType.PlanFree)}
/>
<AccountPlan
type={PayPlanType.PayAsYouGoV0}
onContinue={() => onPlanSelected(PayPlanType.PayAsYouGoV0)}
type={PayPlanType.PlanUnlimited}
onContinue={() => onPlanSelected(PayPlanType.PlanUnlimited)}
/>
</Flex>
<Center mt="xl">
Expand Down

0 comments on commit 2f6156b

Please sign in to comment.