Skip to content
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

Add yarn fleek command to deploy on fleek #1029

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

portdeveloper
Copy link
Contributor

@portdeveloper portdeveloper commented Jan 9, 2025

This PR:

-> Adds yarn fleek command to the package.json
-> Modifies next.config.js to populate out folder when yarn fleek is run
-> Adds a fleek.config.json file with an empty slug so that users know it should be there? (we might want to not include this file at all as it is going to be replaced anyways by yarn fleek

Here is a se-2 app i deployed using this branch:
https://limited-vulture-full.on-fleek.app/
Here is how it looks on ipfs:
https://ipfs.io/ipfs/QmdTSoHmQGYdLejyenRGw4K4M15FVWYWmsqkJBgsLWWig4/
One note here: the ipfs url looks the same as nifty ink ipfs so maybe if we could update the nifty ink ipfs gateway everything would work?

Here is the same app on vercel
https://delete-later-wheat.vercel.app/

How to use it?

  1. Clone se-2 and switch to feat/fleek branch
  2. Install fleek with npm install -g @fleek-platform/cli
  3. After installing fleek login to your fleek account, if you dont have one, create one
  4. Then run yarn fleek which will walk you through creating a fleek.config.json file and connect your app to fleek
  5. voila

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant