To get started with Sola AI, follow these steps:
-
Clone the repository:
git clone https://github.com/TheSolaAI/sola-application.git
-
Navigate to the project directory:
cd sola-application
-
Install the dependencies:
yarn install
-
Create a
.env
file in the root folder and add your environment variables as described below. -
Start the development server:
yarn dev
-
Open your browser and navigate to
http://localhost:5173
.
Create a .env
file in the root folder to store your API keys and other environment variables.
# Application ID for PRVI
PRVI_APP_ID=your_prvi_app_id_here
# Helius API Key
HELIUS_API_KEY=your_helius_api_key_here
# Solana RPC URL
SOLANA_RPC=your_solana_rpc_url_here
# Wallet Service URL
WALLET_SERVICE_URL=your_wallet_service_url_here
# Data Service URL
DATA_SERVICE_URL=your_data_service_url_here
# Sentry Auth Token
SENTRY_AUTH_TOKEN=your_sentry_auth_token_here
During production, use third-party services to keep the keys secure.
To start the project:
yarn dev
If you encounter any issues during installation or setup, try the following steps:
-
Ensure you have the correct version of Node.js and npm installed. Use nvm to manage Node.js versions.
-
Check that all required environment variables are set correctly in your
.env
file. -
Delete the
node_modules
folder and reinstall dependencies:rm -rf node_modules npm install
-
If you encounter issues with specific dependencies, try updating them to the latest versions.
-
Refer to the project's GitHub issues page for any similar issues and their resolutions.
If the problem persists, please open an issue on GitHub with detailed information about the error.