-
-
Notifications
You must be signed in to change notification settings - Fork 335
Create zeabur.md #961
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
Open
underthestars-zhy
wants to merge
2
commits into
vapor:main
Choose a base branch
from
underthestars-zhy:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Create zeabur.md #961
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,51 @@ | ||
## What is Zeabur | ||
|
||
[Zeabur](https://zeabur.com) is a platform that helps you deploy your service with one click, No matter what programming language or framework you use. | ||
|
||
## Signing Up | ||
|
||
You need a Zeabur account. If you don't have one, please use the following link to create: | ||
</br> | ||
https://zeabur.com/zh-TW/login | ||
|
||
Zeabur uses "Login with GitHub" and needs access to your GitHub repos. You could change its access to your different projects and organizations later. | ||
|
||
## Upload Your Project to GitHub | ||
|
||
Before you deploy your Vapor project, you need to upload it to GitHub. Zeabur connects to your GitHub account, and you can select your public or private repo to deploy on Zeabur's Dashboard. | ||
|
||
### Remove Docker File | ||
|
||
The project created by the Vapor command has Dockerfile and docker-compose.yml by default. To avoid being recognized as the Docker Container by Zeabur, you need to delete these two files: | ||
|
||
```bash | ||
rm Dockerfile docker-compose.yml | ||
``` | ||
|
||
### Sync Your Files | ||
|
||
Make sure that all your changes have been synchronized to GitHub: | ||
|
||
```bash | ||
git add . | ||
git commit -m "your commit message" | ||
git push | ||
``` | ||
|
||
## Deployment | ||
|
||
Go to [Zeabur Console](https://dash.zeabur.com) and create a new project. | ||
|
||
Then, click the `Deploy New Service` button and select deploy from GitHub. | ||
|
||
After you select the repository and branch, Zeabur will automatically start building your service. | ||
|
||
Zeabur will automatically detect that your service is built by Vapor, so you don't need to do any additional configuration. Your deployment will be completed in a few minutes. | ||
|
||
## Next | ||
|
||
After the deployment is completed, you may need to configure the domain for your Vapor website. | ||
|
||
Open the "Domain" tab of the service page, and then click "Generate Domain" or "Custom Domain". | ||
|
||
For more information on how to bind a domain to your service, please refer to Zeabur's Docs on [Domain Binding](https://zeabur.com/docs/deploy/domain-binding). |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.