Clone, Install, and Run Locally

Instructions on how to clone, install and run the Cute-Panel framework locally.

This section guides you through the steps to get Cute-Panel up and running on your local machine, including prerequisites, cloning the repository, installing dependencies, and configuring environment variables.


Prerequisites

Before starting, ensure you have the following installed and ready:

  • Node.js v16 or higher — Cute-Panel requires Node.js 16+ for compatibility with its dependencies and build tools. You can download it from nodejs.org.

  • Twitter Developer Credentials — The panel integrates with Twitter APIs, so you’ll need valid Twitter API keys and tokens.

  • Claude API Key — Used for AI features; you must obtain an API key from Claude’s service.

  • Ethereum-compatible RPC Endpoint — For blockchain interaction, an RPC URL from services like Infura, Alchemy, or your own Ethereum node.

  • Optional: Wallet Private Key — If you want to enable wallet features, provide your private key securely.


Cloning the Repository

Start by cloning the Cute-Panel GitHub repository to your local machine:

git clone https://github.com/KatriaDopex/Cute-Panel.git
cd Cute-Panel

Installing Dependencies

With the repository cloned, install all necessary Node.js dependencies. The project uses npm, but you may use yarn if preferred.

npm install
# or
yarn install

This will install React, TailwindCSS, Vite, TypeScript, and all other required packages.


Environment Configuration

Create a .env file in the root directory of the project. This file will hold sensitive API keys and configuration variables.

Your .env should include the following variables:

TWITTER_API_KEY=
TWITTER_API_SECRET=
TWITTER_ACCESS_TOKEN=
TWITTER_ACCESS_TOKEN_SECRET=

CLAUDE_API_KEY=

WALLET_PRIVATE_KEY=       # Optional
ETH_RPC_URL=             # Ethereum RPC endpoint URL
  • Replace each blank value with your actual credentials.

  • Keep this file private and never commit it to version control.


Running the Development Server

After configuring environment variables, start the development server with:

npm run dev
# or
yarn dev

Vite will launch a fast development server, typically accessible at http://localhost:3000 or http://localhost:5173. Your Cute-Panel app should now be running locally with live reload on code changes.


Building for Production

To create an optimized production build, run:

npm run build
# or
yarn build

This bundles the app into static files inside the dist directory, ready for deployment.


Previewing the Production Build

You can preview the production build locally with:

npm run preview
# or
yarn preview

This starts a local server that serves the optimized build for testing before deployment.

Last updated