Deploy your Astro Site to Fleek
यह कंटेंट अभी तक आपकी भाषा में उपलब्ध नहीं है।
You can use Fleek to deploy a static Astro site to their edge-optimized decentralized network.
This guide gives a complete walkthrough of deploying your Astro site to Fleek using the Fleek UI and CLI.
Project Configuration
Section titled Project ConfigurationYour Astro project can be deployed to Fleek as a static site.
How to deploy
Section titled How to deployYou can deploy to Fleek through the website UI or using Fleek’s CLI (command line interface).
Platform UI Deployment
Section titled Platform UI Deployment-
Create a Fleek account.
-
Push your code to your online Git repository (GitHub).
-
Import your project into Fleek.
-
Fleek will automatically detect Astro and then you can configure the correct settings.
-
Your application is deployed!
Fleek CLI
Section titled Fleek CLI-
Install the Fleek CLI.
-
Log in to your Fleek account from your terminal.
-
Run the build command to generate the static files. By default, these will be located in the
dist/
directory. -
Initialize your project. This will generate a configuration file.
-
You will be prompted to either create a new Fleek Site or use an existing one. Give the site a name and select the directory where your project is located.
-
Deploy your site.