Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a vercel deployment button, and cleanup docs a bit #96

Merged
merged 2 commits into from
Jul 20, 2024

Conversation

scosman
Copy link
Contributor

@scosman scosman commented Jul 20, 2024

Part one of #56

Summary by CodeRabbit

  • Documentation
    • Enhanced clarity and organization of the README.md file.
    • Renamed sections for improved navigability, such as "Get Started (Local Development)" to "Create a Copy of the Template."
    • Expanded deployment section to include hosting options like Cloudflare Pages and Vercel.
    • Streamlined instructions in "Setup Stripe Billing" to "Setup Stripe."
    • Corrected minor errors and improved overall flow for a better user experience.

Copy link

cloudflare-workers-and-pages bot commented Jul 20, 2024

Deploying saasstarter with  Cloudflare Pages  Cloudflare Pages

Latest commit: a0962d7
Status: ✅  Deploy successful!
Preview URL: https://e2ddea18.saasstarter.pages.dev
Branch Preview URL: https://vercel-deploy-button.saasstarter.pages.dev

View logs

Copy link

coderabbitai bot commented Jul 20, 2024

Walkthrough

The updates to the README.md primarily enhance clarity and organization, making it more user-friendly. Key modifications include renaming sections for better navigation, correcting minor textual errors, and expanding deployment instructions. The overall flow has been improved to emphasize user customization, resulting in a more intuitive guide for developers.

Changes

Files Change Summary
README.md Renamed sections for clarity: "Get Started (Local Development)" to "Create a Copy of the Template," "Developer Environment" to "Developer Tools," and "Setup Supabase" to "Setup Supabase Project." Expanded the deployment section with options for Cloudflare Pages and Vercel. Simplified "Setup Stripe Billing" to "Setup Stripe." Made textual adjustments for consistency and readability.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant README
    participant DeveloperTools
    participant Deployment

    User->>README: Access documentation
    README->>User: Provide clear sections
    User->>DeveloperTools: Get setup instructions
    DeveloperTools->>User: Offer tools and setup steps
    User->>Deployment: Explore hosting options
    Deployment->>User: Present deployment choices
Loading

🐰 "Through the fields of code I hop,
With changes bright, I never stop!
Sections clear, like morning dew,
A README fresh, just for you!
Customize your path with glee,
In this new world, come code with me!" 🐇


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Outside diff range, codebase verification and nitpick comments (5)
README.md (5)

140-140: Add a comma before 'and'

Use a comma before 'and' if it connects two independent clauses.

- "Use this template": use this Github button if you want to build your own project using CMSaasStarter as a starter template and you aren't planning on contributing work back to the public open source project.
+ "Use this template": use this Github button if you want to build your own project using CMSaasStarter as a starter template, and you aren't planning on contributing work back to the public open source project.
Tools
LanguageTool

[uncategorized] ~140-~140: Use a comma before ‘and’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...sing CMSaasStarter as a starter template and you aren't planning on contributing wor...

(COMMA_COMPOUND_SENTENCE)


[uncategorized] ~140-~140: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...on contributing work back to the public open source project. See [Github Docs](https://docs...

(EN_COMPOUND_ADJECTIVE_INTERNAL)


140-140: Consider using a hyphen for compound adjectives

If this is a compound adjective that modifies the following noun, use a hyphen.

- ...back to the public open source project.
+ ...back to the public open-source project.
Tools
LanguageTool

[uncategorized] ~140-~140: Use a comma before ‘and’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...sing CMSaasStarter as a starter template and you aren't planning on contributing wor...

(COMMA_COMPOUND_SENTENCE)


[uncategorized] ~140-~140: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...on contributing work back to the public open source project. See [Github Docs](https://docs...

(EN_COMPOUND_ADJECTIVE_INTERNAL)


141-141: Use 'to' before 'contribute'

The verb "contribute" needs to be in the to-infinitive form.

- "Fork": use this button if you want contribute some or all of your work back to the public open source project.
+ "Fork": use this button if you want to contribute some or all of your work back to the public open source project.
Tools
LanguageTool

[grammar] ~141-~141: The verb “contribute” needs to be in the to-infinitive form.
Context: ...late). - "Fork": use this button if you want contribute some or all of your work back to the pu...

(MISSING_TO_BEFORE_A_VERB)


[uncategorized] ~141-~141: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ... or all of your work back to the public open source project. It will keep the full commit h...

(EN_COMPOUND_ADJECTIVE_INTERNAL)


256-256: Use 'deployment' instead of 'deploy'

The word 'deploy' is a verb. Did you mean the noun "deployment"?

- Deploy using Vercel's deploy button:
+ Deployment using Vercel's deploy button:
Tools
LanguageTool

[grammar] ~256-~256: The word ‘deploy’ is a verb. Did you mean the noun “deployment” (= release, placement)?
Context: ...Deploy to Vercel Deploy using Vercel's deploy button: [![Deploy with Vercel](https:/...

(PREPOSITION_VERB)


262-262: Add a comma

A comma might be missing here.

- If you prefer another host you can explore alternatives:
+ If you prefer another host, you can explore alternatives:
Tools
LanguageTool

[uncategorized] ~262-~262: A comma might be missing here.
Context: ...loy Alternatives If you prefer another host you can explore alternatives: - [Svelt...

(AI_EN_LECTOR_MISSING_PUNCTUATION_COMMA)

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 08eda29 and 0bb6ddb.

Files selected for processing (1)
  • README.md (9 hunks)
Additional context used
LanguageTool
README.md

[uncategorized] ~140-~140: Use a comma before ‘and’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...sing CMSaasStarter as a starter template and you aren't planning on contributing wor...

(COMMA_COMPOUND_SENTENCE)


[uncategorized] ~140-~140: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...on contributing work back to the public open source project. See [Github Docs](https://docs...

(EN_COMPOUND_ADJECTIVE_INTERNAL)


[grammar] ~141-~141: The verb “contribute” needs to be in the to-infinitive form.
Context: ...late). - "Fork": use this button if you want contribute some or all of your work back to the pu...

(MISSING_TO_BEFORE_A_VERB)


[uncategorized] ~141-~141: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ... or all of your work back to the public open source project. It will keep the full commit h...

(EN_COMPOUND_ADJECTIVE_INTERNAL)


[grammar] ~256-~256: The word ‘deploy’ is a verb. Did you mean the noun “deployment” (= release, placement)?
Context: ...Deploy to Vercel Deploy using Vercel's deploy button: [![Deploy with Vercel](https:/...

(PREPOSITION_VERB)


[uncategorized] ~262-~262: A comma might be missing here.
Context: ...loy Alternatives If you prefer another host you can explore alternatives: - [Svelt...

(AI_EN_LECTOR_MISSING_PUNCTUATION_COMMA)

Additional comments not posted (3)
README.md (3)

Line range hint 143-159:
LGTM!

The instructions for setting up local development are clear and correct.

Tools
LanguageTool

[uncategorized] ~140-~140: Use a comma before ‘and’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...sing CMSaasStarter as a starter template and you aren't planning on contributing wor...

(COMMA_COMPOUND_SENTENCE)


[uncategorized] ~140-~140: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...on contributing work back to the public open source project. See [Github Docs](https://docs...

(EN_COMPOUND_ADJECTIVE_INTERNAL)


[grammar] ~141-~141: The verb “contribute” needs to be in the to-infinitive form.
Context: ...late). - "Fork": use this button if you want contribute some or all of your work back to the pu...

(MISSING_TO_BEFORE_A_VERB)


[uncategorized] ~141-~141: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ... or all of your work back to the public open source project. It will keep the full commit h...

(EN_COMPOUND_ADJECTIVE_INTERNAL)

Markdownlint

147-147: null
Fenced code blocks should have a language specified

(MD040, fenced-code-language)


Line range hint 159-185:
LGTM!

The information about developer tools and CI scripts is clear and correct.


Line range hint 185-217:
LGTM!

The instructions for setting up a Supabase project are clear and correct.

Tools
LanguageTool

[uncategorized] ~203-~203: Possible missing comma found.
Context: ...Auth console. For example, for the demo page we added: `https://saasstarter.work/aut...

(AI_HYDRA_LEO_MISSING_COMMA)


[uncategorized] ~203-~203: “to the” seems less likely than “to”.
Context: ...auth/callback` . Also add that same URL to the the “allowed redirect URL” list in the ...

(AI_HYDRA_LEO_CP_TO_THE_TO)


[typographical] ~204-~204: After the expression ‘for example’ a comma is usually used.
Context: ...s parameters to your auth callback. For example we added the following for the demo pag...

(COMMA_FOR_EXAMPLE)

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Outside diff range, codebase verification and nitpick comments (2)
README.md (2)

140-140: Fix the comma usage.

Use a comma before ‘and’ if it connects two independent clauses.

- "Use this template": use this Github button if you want to build your own project using CMSaasStarter as a starter template and you aren't planning on contributing work back to the public open source project.
+ "Use this template": use this Github button if you want to build your own project using CMSaasStarter as a starter template, and you aren't planning on contributing work back to the public open source project.
Tools
LanguageTool

[uncategorized] ~140-~140: Use a comma before ‘and’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...sing CMSaasStarter as a starter template and you aren't planning on contributing wor...

(COMMA_COMPOUND_SENTENCE)


[uncategorized] ~140-~140: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...on contributing work back to the public open source project. See [Github Docs](https://docs...

(EN_COMPOUND_ADJECTIVE_INTERNAL)


140-140: Fix the compound adjective.

If this is a compound adjective that modifies the following noun, use a hyphen.

- ...to the public open source project.
+ ...to the public open-source project.
Tools
LanguageTool

[uncategorized] ~140-~140: Use a comma before ‘and’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...sing CMSaasStarter as a starter template and you aren't planning on contributing wor...

(COMMA_COMPOUND_SENTENCE)


[uncategorized] ~140-~140: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...on contributing work back to the public open source project. See [Github Docs](https://docs...

(EN_COMPOUND_ADJECTIVE_INTERNAL)

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 0bb6ddb and a0962d7.

Files selected for processing (1)
  • README.md (9 hunks)
Additional context used
LanguageTool
README.md

[uncategorized] ~140-~140: Use a comma before ‘and’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...sing CMSaasStarter as a starter template and you aren't planning on contributing wor...

(COMMA_COMPOUND_SENTENCE)


[uncategorized] ~140-~140: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...on contributing work back to the public open source project. See [Github Docs](https://docs...

(EN_COMPOUND_ADJECTIVE_INTERNAL)


[grammar] ~141-~141: The verb “contribute” needs to be in the to-infinitive form.
Context: ...late). - "Fork": use this button if you want contribute some or all of your work back to the pu...

(MISSING_TO_BEFORE_A_VERB)


[uncategorized] ~141-~141: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ... or all of your work back to the public open source project. It will keep the full commit h...

(EN_COMPOUND_ADJECTIVE_INTERNAL)


[grammar] ~256-~256: The word ‘deploy’ is a verb. Did you mean the noun “deployment” (= release, placement)?
Context: ...Deploy to Vercel Deploy using Vercel's deploy button: [![Deploy with Vercel](https:/...

(PREPOSITION_VERB)

Additional comments not posted (5)
README.md (5)

Line range hint 143-158:
LGTM!

The instructions for setting up local development are clear and well-structured.

Tools
LanguageTool

[uncategorized] ~140-~140: Use a comma before ‘and’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...sing CMSaasStarter as a starter template and you aren't planning on contributing wor...

(COMMA_COMPOUND_SENTENCE)


[uncategorized] ~140-~140: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...on contributing work back to the public open source project. See [Github Docs](https://docs...

(EN_COMPOUND_ADJECTIVE_INTERNAL)


[grammar] ~141-~141: The verb “contribute” needs to be in the to-infinitive form.
Context: ...late). - "Fork": use this button if you want contribute some or all of your work back to the pu...

(MISSING_TO_BEFORE_A_VERB)


[uncategorized] ~141-~141: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ... or all of your work back to the public open source project. It will keep the full commit h...

(EN_COMPOUND_ADJECTIVE_INTERNAL)

Markdownlint

147-147: null
Fenced code blocks should have a language specified

(MD040, fenced-code-language)


Line range hint 159-184:
LGTM!

The information about developer tools and CI scripts is clear and well-structured.


Line range hint 185-216:
LGTM!

The instructions for setting up a Supabase project are clear and well-structured.

Tools
LanguageTool

[duplication] ~203-~203: Possible typo: you repeated a word
Context: ...h/callback` . Also add that same URL to the the “allowed redirect URL” list in the Supa...

(ENGLISH_WORD_REPEAT_RULE)


[typographical] ~204-~204: After the expression ‘for example’ a comma is usually used.
Context: ...s parameters to your auth callback. For example we added the following for the demo pag...

(COMMA_FOR_EXAMPLE)


Line range hint 217-238:
LGTM!

The instructions for setting up Stripe are clear and well-structured.


256-256: Fix the noun form.

The word ‘deploy’ is a verb. Did you mean the noun “deployment” (= release, placement)?

- Deploy using Vercel's deploy button:
+ Deployment using Vercel's deploy button:

Likely invalid or redundant comment.

Tools
LanguageTool

[grammar] ~256-~256: The word ‘deploy’ is a verb. Did you mean the noun “deployment” (= release, placement)?
Context: ...Deploy to Vercel Deploy using Vercel's deploy button: [![Deploy with Vercel](https:/...

(PREPOSITION_VERB)


To get started, create your own copy of the project for development. There are two options:

- "Use this template": use this button if you want to build your own project using CMSaasStarter as a starter template and you aren't planning on contributing work back to the public open source project. See [Github Docs](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template).
- "Use this template": use this Github button if you want to build your own project using CMSaasStarter as a starter template and you aren't planning on contributing work back to the public open source project. See [Github Docs](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template).
- "Fork": use this button if you want contribute some or all of your work back to the public open source project. It will keep the full commit history, and be easier to create PRs back to CMSaasStarter.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix the verb form.

The verb “contribute” needs to be in the to-infinitive form.

- "Fork": use this button if you want contribute some or all of your work back to the public open source project.
+ "Fork": use this button if you want to contribute some or all of your work back to the public open-source project.
Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- "Fork": use this button if you want contribute some or all of your work back to the public open source project. It will keep the full commit history, and be easier to create PRs back to CMSaasStarter.
"Fork": use this button if you want to contribute some or all of your work back to the public open-source project. It will keep the full commit history, and be easier to create PRs back to CMSaasStarter.
Tools
LanguageTool

[grammar] ~141-~141: The verb “contribute” needs to be in the to-infinitive form.
Context: ...late). - "Fork": use this button if you want contribute some or all of your work back to the pu...

(MISSING_TO_BEFORE_A_VERB)


[uncategorized] ~141-~141: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ... or all of your work back to the public open source project. It will keep the full commit h...

(EN_COMPOUND_ADJECTIVE_INTERNAL)

@scosman scosman merged commit 34125fb into main Jul 20, 2024
11 checks passed
@scosman scosman deleted the vercel_deploy_button branch July 20, 2024 05:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant