Testing Task from ryght.ai
Follow these steps to set up and run the project on your computer:
-
Clone the repository to your local machine:
git clone https://github.com/0leks11/AI-Lans.git
-
Navigate to the project directory:
cd AI-Lans
-
To create a .env file using a command, you can use the following sequence in the terminal:
echo "VITE_OPENAI_API_KEY=your-openai-api-key" > .env
!!! Replace "your-openai-api-key" with your actual OpenAI license token. !!!
-
Install the dependencies:
npm install
-
Start the development:
npm run dev
-
Preview the production build:
npm run build npm run preview
-
Run the tests:
Open the provided URL in your terminal (usually http://localhost:4173) to view the application.