-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update deployment documentation (#20)
- Loading branch information
1 parent
4eca476
commit ce402d6
Showing
8 changed files
with
62 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
--- | ||
sidebar_position: 1 | ||
--- | ||
|
||
# Deploy | ||
|
||
## Deploy Composable UI | ||
|
||
You can host Composable UI on any hosting service that supports Next.js applications such as Vercel, Netlify, or AWS. | ||
|
||
### Environment Variables | ||
|
||
When deploying to a cloud provider, you must set the `NEXTAUTH_SECRET` environment variable on the cloud platform. For more information on Composable UI environment variables, see the [Application Configuration](../essentials/configuration.md) section. | ||
- [Setting environment variables on Vercel](https://vercel.com/docs/concepts/projects/environment-variables) | ||
- [Setting environment variables on Netlify](https://docs.netlify.com/environment-variables/overview/) | ||
|
||
### 1-Click Deployment to Vercel | ||
|
||
Click the following button to build and deploy your own copy of Composable UI to Vercel: | ||
|
||
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fcomposable-com%2Fcomposable-ui&root-directory=composable-ui&project-name=composable-ui&repository-name=composable-ui&demo-title=Composable%20UI&demo-description=Open%20Source%20React%20Storefront%20for%20Composable%20Commerce&demo-url=https%3A%2F%2Fstorefront.composable.com%2F&demo-image=https%3A%2F%2Fstorefront.composable.com%2Fimg%2Fdemo_image.png&envDescription=Enter%20your%20NEXTAUTH_SECRET.&env=NEXTAUTH_SECRET&envLink=https%3A%2F%2Fnext-auth.js.org%2Fconfiguration%2Foptions%23nextauth_secret) | ||
|
||
When prompted, authenticate with GitHub and choose a repository name. | ||
Vercel creates a repository automatically in your GitHub account with a copy of the files from the Composable UI repository and build and deploy the new site. However, you can deploy your Next.js application to Vercel regardless of whether you have a GitHub, Bitbucket, or GitLab account. | ||
|
||
### 1-Click Deployment to Netlify | ||
|
||
Click the following button to build and deploy your own copy of Composable UI to Netlify: | ||
|
||
[![Deploy with Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/composable-com/composable-ui&base=composable-ui#PNPM_FLAGS=--shamefully-hoist) | ||
|
||
When prompted, authenticate with GitHub and choose a repository name. | ||
Netlify creates a repository in your GitHub account automatically with a copy of the files from the Composable UI repository, and the new site is built and deployed on Netlify. | ||
|
||
## Deploy Composable UI Docs | ||
|
||
You can host Composable UI Docs on any hosting service that supports Next.js applications such as Vercel, Netlify, or AWS. | ||
|
||
### 1-Click Deployment to Vercel | ||
Use the button below to build and deploy your own copy of Composable UI Docs to Vercel: | ||
|
||
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%composable-com%2Fcomposable-ui&root-directory=docs&build-command=cd%20docs%20%26%26%20yarn%20build&install-command=cd%20docs%20%26%26%20yarn%20install&project-name=composable-ui-docs&repository-name=composable-ui-docs&demo-title=Composable%20UI%20docs&demo-image=https%3A%2F%2Fstorefront.composable.com%2Fimg%2Fcomposable-ui-docs.png&demo-description=Docs%20for%20Open%20Source%20React%20Storefront%20for%20Composable%20Commerce&demo-url=https%3A%2F%2Fstorefront.composable.com) | ||
|
||
### 1-Click Deployment to Netlify | ||
Use the button below to build and deploy your own copy of Composable UI Docs to Netlify: | ||
|
||
[![Deploy with Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/composable-com/composable-ui&base=docs#PNPM_FLAGS=--shamefully-hoist) | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
sidebar_position: 2 | ||
sidebar_position: 3 | ||
--- | ||
|
||
# Running Composable UI in Docker | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
sidebar_position: 1 | ||
sidebar_position: 2 | ||
--- | ||
|
||
# Running in Localhost | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ce402d6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
composable-ui-public – ./composable-ui
composable-ui-public-composable.vercel.app
storefront.composable.com
composable-ui-public.vercel.app
composable-ui-public-git-main-composable.vercel.app
ce402d6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.