Dominic Elm commited on
Commit
71c4398
·
unverified ·
2 Parent(s): f90f60b cf31b59

Merge branch 'main' into add-docker-support

Browse files
.github/workflows/ci.yaml CHANGED
@@ -25,53 +25,3 @@ jobs:
25
 
26
  - name: Run tests
27
  run: pnpm run test
28
-
29
- build-and-deploy:
30
- name: Build and Deploy
31
- needs: test
32
- runs-on: ubuntu-latest
33
- environment: ${{ github.ref_name == 'master' && 'production' || 'staging' }}
34
- if: ${{ github.ref != 'refs/heads/master' }}
35
- steps:
36
- - name: Checkout
37
- uses: actions/checkout@v4
38
-
39
- - name: Setup and Build
40
- uses: ./.github/actions/setup-and-build
41
-
42
- - name: Deploy to Cloudflare
43
- id: deploy
44
- uses: cloudflare/wrangler-action@v3
45
- with:
46
- wranglerVersion: '* -w'
47
- packageManager: pnpm
48
- apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
49
- accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
50
- command: pages deploy
51
-
52
- - name: Deployment URL
53
- env:
54
- DEPLOYMENT_URL: ${{ steps.deploy.outputs.deployment-url }}
55
- run: echo $DEPLOYMENT_URL
56
-
57
- - name: Comment on Commit
58
- if: github.event_name == 'push'
59
- uses: hasura/[email protected]
60
- with:
61
- github-token: ${{ secrets.GITHUB_TOKEN }}
62
- repository: ${{ github.repository }}
63
- id: deploy-preview-commit
64
- commit-sha: ${{ github.sha }}
65
- message: '${{ github.sha }} has been deployed to ${{ steps.deploy.outputs.deployment-url }} :rocket:'
66
- recreate: true
67
-
68
- - name: Comment on PR
69
- if: github.event_name == 'pull_request'
70
- uses: hasura/[email protected]
71
- with:
72
- github-token: ${{ secrets.GITHUB_TOKEN }}
73
- repository: ${{ github.repository }}
74
- id: deploy-preview-pr
75
- number: ${{ github.event.number }}
76
- message: '#${{ github.event.number }} has been deployed to ${{ steps.deploy.outputs.deployment-url }} :rocket:'
77
- recreate: true
 
25
 
26
  - name: Run tests
27
  run: pnpm run test
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
CONTRIBUTING.md CHANGED
@@ -121,4 +121,4 @@ To run bolt dev in docker(Add ANTHROPIC_API_KEY=XXX before running)
121
 
122
  ```
123
  docker run -p 5173:5173 --env-file .env.local bolt-ai
124
- ```
 
121
 
122
  ```
123
  docker run -p 5173:5173 --env-file .env.local bolt-ai
124
+ ```
README.md CHANGED
@@ -29,7 +29,7 @@ Here are some tips to get the most out of Bolt.new:
29
 
30
  - **Use the enhance prompt icon**: Before sending your prompt, try clicking the 'enhance' icon to have the AI model help you refine your prompt, then edit the results before submitting.
31
 
32
- - **Scaffold the basics first, then add features**: Make sure the basic structure of your application is in place before diving into more advanced functionality. This helps Bolt understand the foundation of your project and ensure everything is wired upu right before building out more advanced functionality.
33
 
34
  - **Batch simple instructions**: Save time by combining simple instructions into one message. For example, you can ask Bolt to change the color scheme, add mobile responsiveness, and restart the dev server, all in one go saving you time and reducing API credit consumption significantly.
35
 
 
29
 
30
  - **Use the enhance prompt icon**: Before sending your prompt, try clicking the 'enhance' icon to have the AI model help you refine your prompt, then edit the results before submitting.
31
 
32
+ - **Scaffold the basics first, then add features**: Make sure the basic structure of your application is in place before diving into more advanced functionality. This helps Bolt understand the foundation of your project and ensure everything is wired up right before building out more advanced functionality.
33
 
34
  - **Batch simple instructions**: Save time by combining simple instructions into one message. For example, you can ask Bolt to change the color scheme, add mobile responsiveness, and restart the dev server, all in one go saving you time and reducing API credit consumption significantly.
35
 
app/components/sidebar/Menu.client.tsx CHANGED
@@ -164,13 +164,6 @@ export function Menu() {
164
  </DialogRoot>
165
  </div>
166
  <div className="flex items-center border-t border-bolt-elements-borderColor p-4">
167
- <a href="/logout">
168
- <IconButton className="p-1.5 gap-1.5">
169
- <>
170
- Logout <span className="i-ph:sign-out text-lg" />
171
- </>
172
- </IconButton>
173
- </a>
174
  <ThemeSwitch className="ml-auto" />
175
  </div>
176
  </div>
 
164
  </DialogRoot>
165
  </div>
166
  <div className="flex items-center border-t border-bolt-elements-borderColor p-4">
 
 
 
 
 
 
 
167
  <ThemeSwitch className="ml-auto" />
168
  </div>
169
  </div>