forked from mito-systems/sol-mem-gen
Update root README
This commit is contained in:
parent
5b3f9fc43d
commit
67bb4357c1
10
README.md
10
README.md
@ -17,16 +17,19 @@ This project is a Solana-based meme generator that allows users to connect their
|
|||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
- Install dependencies:
|
- Install dependencies:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm install
|
npm install
|
||||||
```
|
```
|
||||||
|
|
||||||
- Copy the `.env.example` file to `.env.local` and add your API keys:
|
- Copy the `.env.example` file to `.env.local` and add your API keys:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cp .env.example .env.local
|
cp .env.example .env.local
|
||||||
```
|
```
|
||||||
|
|
||||||
- Add your FAL AI key to the `.env.local` file:
|
- Add your FAL AI key to the `.env.local` file:
|
||||||
|
|
||||||
```env
|
```env
|
||||||
# Get key from https://fal.ai/
|
# Get key from https://fal.ai/
|
||||||
FAL_AI_KEY=your_fal_ai_key
|
FAL_AI_KEY=your_fal_ai_key
|
||||||
@ -34,7 +37,7 @@ This project is a Solana-based meme generator that allows users to connect their
|
|||||||
|
|
||||||
- Setup a project on <https://app.pinata.cloud>
|
- Setup a project on <https://app.pinata.cloud>
|
||||||
|
|
||||||
- Visit https://app.pinata.cloud/developers/api-keys and click the `New Key` button to create a new key
|
- Visit <https://app.pinata.cloud/developers/api-keys> and click the `New Key` button to create a new key
|
||||||
|
|
||||||
- Choose the `Admin` scope and create the API key
|
- Choose the `Admin` scope and create the API key
|
||||||
|
|
||||||
@ -53,6 +56,7 @@ This project is a Solana-based meme generator that allows users to connect their
|
|||||||
```
|
```
|
||||||
|
|
||||||
- Run the development server:
|
- Run the development server:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm run dev
|
npm run dev
|
||||||
```
|
```
|
||||||
@ -64,3 +68,7 @@ This project is a Solana-based meme generator that allows users to connect their
|
|||||||
- Connect your Solflare or Phantom wallet using the "Connect Wallet" button.
|
- Connect your Solflare or Phantom wallet using the "Connect Wallet" button.
|
||||||
- Select an AI model and enter a prompt to generate a meme.
|
- Select an AI model and enter a prompt to generate a meme.
|
||||||
- Pay the required MTM tokens and wait for the meme to be generated.
|
- Pay the required MTM tokens and wait for the meme to be generated.
|
||||||
|
|
||||||
|
## Deploy
|
||||||
|
|
||||||
|
Follow [instructions](./deploy/README.md) for deploying `sol-mem-gen` and `sol-token-locker`
|
||||||
|
Loading…
Reference in New Issue
Block a user