Skip to content

Commit

Permalink
docs: update cli/hosting links (#280)
Browse files Browse the repository at this point in the history
## Why?
links broken

## How?

replace with good links
## Tickets?

- [Ticket 1](the-ticket-url-here)
- [Ticket 2](the-ticket-url-here)
- [Ticket 3](the-ticket-url-here)

## Contribution checklist?

- [ ] The commit messages are detailed
- [ ] The `build` command runs locally
- [ ] Assets or static content are linked and stored in the project
- [ ] Document filename is named after the slug
- [ ] You've reviewed spelling using a grammar checker
- [ ] For documentation, guides or references, you've tested the
commands and steps
- [ ] You've done enough research before writing

## Security checklist?

- [ ] Sensitive data has been identified and is being protected properly
- [ ] Injection has been prevented (parameterized queries, no eval or
system calls)
- [ ] The Components are escaping output (to prevent XSS)

## References?

Optionally, provide references such as links

## Preview?

Optionally, provide the preview url here

---------

Co-authored-by: tobySolutions <[email protected]>
Co-authored-by: Tobiloba Adedeji <[email protected]>
  • Loading branch information
3 people authored Nov 1, 2024
1 parent 60ddc4d commit 493aa9d
Show file tree
Hide file tree
Showing 13 changed files with 20 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Users can easily take advantage of Fleek’s public IPFS gateway by[ ](https://f

- [https://flk-ipfs.xyz/ipfs/](https://flk-ipfs.xyz/ipfs/)`<CID>`

- [https://`<CID>`.ipfs.flk-ipfs.xyz](null)
- [https://`<CID>`.ipfs.flk-ipfs.xyz]

Where `<CID>` is the content identifier.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Step aside, it’s time to host some sites on IPFS! If you want a quick-start, v

![Sites Deployment with Fleek promotional banner](https://storage.fleek.ooo/27a60cdd-37d3-480c-ae88-3ad4ca886b13-bucket/imgs/site-demo.png)

The Sites services on Fleek will allow anyone to upload and easily maintain static sites, stored and served by Web3 protocols, starting with IPFS. Visit the [Sites documentation](/docs/cli/sites/) to learn how to get your first project live.
The Sites services on Fleek will allow anyone to upload and easily maintain static sites, stored and served by Web3 protocols, starting with IPFS. Visit the [Sites documentation](/docs/platform/hosting/) to learn how to get your first project live.

> fleek sites init
? Choose one of the existing sites or create a new one.
Expand Down
2 changes: 0 additions & 2 deletions src/content/blog/learn/understanding-data-permanence/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,6 @@ NFTs or non-fungible tokens are digital assets with immense flexibility to repre

This facet of permanence might also unlock innovative functionalities and utilities for NFTs.

Here are some <u>[storage & formatting best practices for NFT metadata](https://blog.fleek.xyz/post/storing-nft-metadata-and-standards/)</u>.

3. **Onchain Identity and Access Management**

By storing identification documents, credentials, and more on an onchain network, individuals and businesses can safeguard their information and streamline online verification processes without relying on vulnerable centralized identity providers.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Astro is a lightweight framework that combines the speed and simplicity of a sta

## How to deploy an Astro site with Fleek?

With the Fleek CLI, you can easily deploy your site to IPFS and IPNS, as well as add custom domains. Learn more about self custodial deployments [here](https://fleek.xyz/docs/cli/sites/).
With the Fleek CLI, you can easily deploy your site to IPFS and IPNS, as well as add custom domains. Learn more about self custodial deployments [here](/docs/cli/hosting/).

You can deploy your site by running:

Expand All @@ -39,7 +39,7 @@ fleek sites deploy

You can also automate your deployment process and deploy your site directly from a GitHub action. This makes it easy to keep your site up-to-date and always available to your users.

Check more information about CI deployments [here](https://fleek.xyz/docs/cli/sites/).
Check more information about CI deployments [here](/docs/cli/hosting/).

To set up the CI you can run:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ Next, we can deploy our contract to the Goerli network by running the following

### Deploying the Frontend to Fleek

Now to deploy the Frontend, we’ll use Fleek CLI, which allows us to deploy to IPFS from the CLI. If you haven’t used Fleek CLI before, read the CLI section of [our docs](https://docs.fleek.xyz/docs/CLI/).
Now to deploy the Frontend, we’ll use Fleek CLI, which allows us to deploy to IPFS from the CLI. If you haven’t used Fleek CLI before, read the CLI section of [our docs](/docs/cli/hosting/).

You’ll need to install the CLI as a global package by running the following command:

Expand Down Expand Up @@ -192,7 +192,7 @@ You can now **deploy your site to IPFS** by running `fleek sites deploy`:

> Success! Deployed! IPFS CID: QmQ88SAK9shZ7NUFTPJDcS9zuMmU7tDPbC9e9j5264Yfj4

If you are interested in other features like **continuous integration**, you can check this guide on deploying to fleek using GitHub Actions [here](https://docs.fleek.xyz/docs/CLI/sites#continuous-integration-ci).
If you are interested in other features like **continuous integration**, you can check this guide on deploying to fleek using GitHub Actions [here](/docs/cli/github-actions/).

---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ In the new Fleek, we have introduced Projects, a way to organize your sites, fil
In this initial release, users can deploy/host apps via a managed deployment CI/CD in the app, or opt for the the CLI-based deployments(a.k.a. Self-Managed and built deployments). Users can:

- [Deploy sites to IPFS storage by connecting their GitHub account](/docs/cli/sites/)
- [Create sites to manage via the CLI](https://fleek.xyz/docs/cli/sites/)
- [Create sites to manage via the CLI](https://fleek.xyz/docs/cli/hosting/)
- [Deploy sites from templates created by the Fleek team and the community](https://fleek.xyz/docs/platform/)
- [Configure a custom domain on their sites via the UI](https://fleek.xyz/docs/platform/domains/)
- [Configure ENS domains on their sites via the UI](https://fleek.xyz/docs/platform/domains/)
Expand Down
6 changes: 3 additions & 3 deletions src/content/docs/CLI/GitHub Actions/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ tags:

# GitHub Actions

Use custom GitHub Actions to deploy your site to Fleek instead of using the CLI's [Site deploy](/docs/cli/sites#deploy-a-site) command. This approach is suitable if you have an existing repository that you want to deploy on [Fleek Platform](https://fleek.xyz).
Use custom GitHub Actions to deploy your site to Fleek instead of using the CLI's [Site deploy](/docs/cli/hosting/) command. This approach is suitable if you have an existing repository that you want to deploy on [Fleek Platform](https://fleek.xyz).

The Fleek-platform CLI can generate a GitHub Action (yaml) for deploying a [Fleek Site](/docs/cli/sites/) by automating the process of building and publishing it. It ensures that your latest changes are quickly and consistently pushed whenever you update the repository, e.g. on main branch update.
The Fleek-platform CLI can generate a GitHub Action (yaml) for deploying a [Fleek Site](/docs/cli/hosting/) by automating the process of building and publishing it. It ensures that your latest changes are quickly and consistently pushed whenever you update the repository, e.g. on main branch update.

### Create a GitHub Action for Fleek Sites deployment

First, ensure that you have initialized a [Fleek Site](/docs/cli/sites#initialize-the-fleek-site), if you haven't done already you can learn about it [here](/docs/cli/sites#initialize-the-fleek-site).
First, ensure that you have initialized a [Fleek Site](/docs/hosting/), if you haven't done already you can learn about it [here](/docs/cli/hosting/).

After initializing a Fleek Site, you can run the `ci` (Continuous Integration) command:

Expand Down
6 changes: 3 additions & 3 deletions src/content/docs/CLI/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ fleek logout
The Fleek.co's [CLI](https://www.npmjs.com/package/@fleekhq/cli) features are part of Fleek Platform CLI, which brings enhanced performance, new features, and broader support for all your development needs.

If you use [Fleek CLI](https://www.npmjs.com/package/@fleekhq/cli) to interact with Fleek.co's Services, migrate to the Fleek Platform, familiarizing yourself with the following changes or consult our [CLI docs](/docs/cli) for a deep dive.
If you use [Fleek CLI](https://www.npmjs.com/package/@fleekhq/cli) to interact with Fleek.co's Services, migrate to the Fleek Platform, familiarizing yourself with the following changes or consult our [CLI docs](/docs/cli/) for a deep dive.
### Global installation
Expand All @@ -217,7 +217,7 @@ npm install -g @fleekhq/fleek-cli
npm install -g @fleek-platform/cli
```
Learn more by reading the CLI documentation [here](/docs/cli).
Learn more by reading the CLI documentation [here](/docs/cli/).
### Sites Init & Deploy
Expand All @@ -241,4 +241,4 @@ fleek site:deploy
fleek sites deploy
```
You can learn about other Sites service features [here](/docs/cli/sites/).
You can learn about other Sites service features [here](/docs/cli/hosting/).
2 changes: 1 addition & 1 deletion src/content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ This guide will walk you through the entire process of deploying your live site

Fleek CLI provides a streamlined way to deploy your projects, giving you full control from the command line. With simple commands, you can create, configure, and deploy sites directly to the Fleek platform.

To get started with the Fleek CLI, you'll first need to install it and log in to your account. For detailed instructions on deploying sites, including cloning repositories and initializing projects, refer to [Fleek's CLI Documentation](/docs/cli/sites).
To get started with the Fleek CLI, you'll first need to install it and log in to your account. For detailed instructions on deploying sites, including cloning repositories and initializing projects, refer to [Fleek's CLI Documentation](/docs/cli/).

A quick overview of deploying a site via Fleek CLI is as simple as:

Expand Down
2 changes: 1 addition & 1 deletion src/content/guides/fleek-nextjs-deploy-guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,5 +125,5 @@ Congratulations! You’ve successfully deployed your Next.js App on Fleek!
### Resources:

- Understanding Projects: https://fleek.xyz/docs/platform/projects/
- Sites: https://fleek.xyz/docs/cli/sites/
- Sites: https://fleek.xyz/docs/cli/hostiing/
- Fleek CLI: https://fleek.xyz/docs/cli/
6 changes: 3 additions & 3 deletions src/content/guides/fleek-nextjs-guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,18 +196,18 @@ Click on your **deployed** site. You should be **brought** to this page:

Click on the URL (For this example it’s https://scrawny-lock-most.on-fleek.app/ but yours will be different) and it’ll take you to your fully functional static NextJS blog!

From the [Fleek.xyz](https://Fleek.xyz) dashboard, you have the ability to manage a custom domain or ENS address for your site, as well as see deployment history and quickly manage site settings.
From the [Fleek.xyz](https://fleek.xyz) dashboard, you have the ability to manage a custom domain or ENS address for your site, as well as see deployment history and quickly manage site settings.

---

Congratulations! You just deployed your NextJS blog to the Fleek.xyz platform. The basics from this guide can be taken and applied to any static NextJS app to deploy on Fleek.xyz

If you’d like to learn more about Fleek, visit our [documentation](https://docs.fleek.xyz/docs) page, join our D[iscord server](https://discord.gg/fleek), and stay up to date with us on [X](https://twitter.com/fleek/)!
If you’d like to learn more about Fleek, visit our [documentation](/docs/) page, join our D[iscord server](https://discord.gg/fleek), and stay up to date with us on [X](https://twitter.com/fleek/)!

See you in the next guide 🤙

## Resources:

- Understanding projects: https://fleek.xyz/docs/platform/projects/
- Sites: https://fleek.xyz/docs/cli/sites/
- Sites: https://fleek.xyz/docs/cli/hosting/
- Fleek CLI: https://fleek.xyz/docs/cli/
2 changes: 1 addition & 1 deletion src/content/guides/fleek-svelte-guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,5 +175,5 @@ See you in the next guide 🤙
## Resources:

- Understanding Projects: https://fleek.xyz/docs/sdk/projects/
- Sites: https://fleek.xyz/docs/cli/sites/
- Sites: https://fleek.xyz/docs/cli/hosting/
- Fleek CLI: https://fleek.xyz/docs/cli/
2 changes: 1 addition & 1 deletion src/content/guides/fleek-vue-guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,6 @@ See you in the next guide 🤙
## Resources:

- Understanding Projects: https://fleek.xyz/docs/cli/projects/
- Sites: https://fleek.xyz/docs/cli/sites/
- Sites: https://fleek.xyz/docs/cli/hosting/
- Fleek CLI: https://fleek.xyz/docs/cli/
- Fleek SDK: https://fleek.xyz/docs/sdk/

0 comments on commit 493aa9d

Please sign in to comment.