Skip to content

Mayankgg01/Fleek_CLI_Guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 

Repository files navigation

πŸ‘¨πŸ»β€πŸ’» Fleek CLI Guide πŸ‘¨πŸ»β€πŸ’»

Pre-Requirements πŸ› 

Install node.js & npm

  • node.js
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt install -y nodejs
  • npm
sudo apt install nodejs npm

Install fleek CLI

sudo npm install -g @fleek-platform/cli
  • Verify the Installation with
fleek

image

Login

fleek login
  • Run the above command to get the login page link:

  • Login with your Wallet and Email (both)

  • After login, open the above link again to sign

image

  • Back to Terminal & u could see a success message:

image

Create a project

fleek projects create
  • This will promt u to enter a project name: Enter anything u like:

  • πŸ”ΊπŸ”Ί If u see somethink like that (check ss given below), than dont do anythink, just do next process of Set up a simple page

Screenshot 2025-04-28 165908

Set up a simple page

  • Create a New Directory
mkdir ~/fleek-quick-start
  • Navigate to it
cd ~/fleek-quick-start
  • Create a simple html page inside ~/fleek-quick-start
echo "Hello world" > index.html

Setup a Fleek site

fleek sites init
  • This will promt u to do many thinks, just follow the CLI instructions

  • You’ll have to enter a name for the new site.

  • This will Promt βœ” Please specify the directory containing the site files to be uploaded just enter . (a dot)

  • This will promt βœ” Would you like to include the optional "build" command? just enter no

  • This will promt βœ” Select a format for saving the site's configuration: just select JSON (fleek.config.json) & Enter

  • Check the below given SCREENSHOT for more clarification

image

Deploy the Fleek site

fleek sites deploy

image

Done!βš•οΈβœ…

πŸ‘‰ Join TG for more Updates: https://telegram.me/cryptogg

If U have any issue then open a issue on this repo or Dm me on TG~

Thank U! πŸ‘¨πŸ»β€πŸ’»

Happy CodingπŸ’—

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published