|
4 | 4 |
|
5 | 5 | Welcome to bolt.diy, the official open source version of Bolt.new (previously known as oTToDev and bolt.new ANY LLM), which allows you to choose the LLM that you use for each prompt! Currently, you can use OpenAI, Anthropic, Ollama, OpenRouter, Gemini, LMStudio, Mistral, xAI, HuggingFace, DeepSeek, or Groq models - and it is easily extended to use any other model supported by the Vercel AI SDK! See the instructions below for running this locally and extending it to include more models. |
6 | 6 |
|
7 | | -Check the [bolt.diy Docs](https://stackblitz-labs.github.io/bolt.diy/) for more information. This documentation is still being updated after the transfer. |
| 7 | +Check the [bolt.diy Docs](https://stackblitz-labs.github.io/bolt.diy/) for more information. |
| 8 | + |
| 9 | +We have also launched an experimental agent called the "bolt.diy Expert" that can answer common questions about bolt.diy. Find it here on the [oTTomator Live Agent Studio](https://studio.ottomator.ai/). |
8 | 10 |
|
9 | 11 | bolt.diy was originally started by [Cole Medin](https://www.youtube.com/@ColeMedin) but has quickly grown into a massive community effort to build the BEST open source AI coding assistant! |
10 | 12 |
|
@@ -95,34 +97,6 @@ Clone the repository using Git: |
95 | 97 | git clone -b stable https://github.com/stackblitz-labs/bolt.diy |
96 | 98 | ``` |
97 | 99 |
|
98 | | -### (Optional) Configure Environment Variables |
99 | | - |
100 | | -Most environment variables can be configured directly through the settings menu of the application. However, if you need to manually configure them: |
101 | | - |
102 | | -1. Rename `.env.example` to `.env.local`. |
103 | | -2. Add your LLM API keys. For example: |
104 | | - |
105 | | -```env |
106 | | -GROQ_API_KEY=YOUR_GROQ_API_KEY |
107 | | -OPENAI_API_KEY=YOUR_OPENAI_API_KEY |
108 | | -ANTHROPIC_API_KEY=YOUR_ANTHROPIC_API_KEY |
109 | | -``` |
110 | | - |
111 | | -**Note**: Ollama does not require an API key as it runs locally. |
112 | | - |
113 | | -3. Optionally, set additional configurations: |
114 | | - |
115 | | -```env |
116 | | -# Debugging |
117 | | -VITE_LOG_LEVEL=debug |
118 | | -
|
119 | | -# Ollama settings (example: 8K context, localhost port 11434) |
120 | | -OLLAMA_API_BASE_URL=http://localhost:11434 |
121 | | -DEFAULT_NUM_CTX=8192 |
122 | | -``` |
123 | | - |
124 | | -**Important**: Do not commit your `.env.local` file to version control. This file is already included in `.gitignore`. |
125 | | - |
126 | 100 | --- |
127 | 101 |
|
128 | 102 | ## Run the Application |
@@ -155,27 +129,30 @@ DEFAULT_NUM_CTX=8192 |
155 | 129 |
|
156 | 130 | Use the provided NPM scripts: |
157 | 131 | ```bash |
158 | | - npm run dockerbuild # Development build |
159 | | - npm run dockerbuild:prod # Production build |
| 132 | + npm run dockerbuild |
160 | 133 | ``` |
161 | 134 |
|
162 | 135 | Alternatively, use Docker commands directly: |
163 | 136 | ```bash |
164 | | - docker build . --target bolt-ai-development # Development build |
165 | | - docker build . --target bolt-ai-production # Production build |
| 137 | + docker build . --target bolt-ai-development |
166 | 138 | ``` |
167 | 139 |
|
168 | 140 | 2. **Run the Container**: |
169 | 141 | Use Docker Compose profiles to manage environments: |
170 | 142 | ```bash |
171 | | - docker-compose --profile development up # Development |
172 | | - docker-compose --profile production up # Production |
| 143 | + docker-compose --profile development up |
173 | 144 | ``` |
174 | 145 |
|
175 | 146 | - With the development profile, changes to your code will automatically reflect in the running container (hot reloading). |
176 | 147 |
|
177 | 148 | --- |
178 | 149 |
|
| 150 | +### Entering API Keys |
| 151 | +
|
| 152 | +All of your API Keys can be configured directly in the application. Just selecte the provider you want from the dropdown and click the pencile icon to enter your API key. |
| 153 | +
|
| 154 | +--- |
| 155 | +
|
179 | 156 | ### Update Your Local Version to the Latest |
180 | 157 |
|
181 | 158 | To keep your local version of bolt.diy up to date with the latest changes, follow these steps for your operating system: |
@@ -236,4 +213,4 @@ Explore upcoming features and priorities on our [Roadmap](https://roadmap.sh/r/o |
236 | 213 |
|
237 | 214 | ## FAQ |
238 | 215 |
|
239 | | -For answers to common questions, visit our [FAQ Page](FAQ.md). |
| 216 | +For answers to common questions, issues, and to see a list of recommended models, visit our [FAQ Page](FAQ.md). |
0 commit comments