Overview
We’ll create a simple index.html
file and deploy it with Fleek.co. This whole process should take 5 minutes. Deployment should take 30 seconds.
Tools:
- Fleek.co account
- GitHub account
- Text editor
Step 1: Set Up a Repo on Github
Create an empty repository, clone it and start coding.
Create an index.html
file and add some content.
add, commit, push (you know the drill)
Now you’re repository is ready to go!
Step 2: Set Up Fleek.co
Sign into: https://app.fleek.co/
Sign in with Github
Add New Site
Connect with Github.
Pick a repository.
In this example, there is no Build command
nor Public directory
Deploy Site
Deployment takes 30 seconds.
Once complete, view your website.
You can view the website using the provided domain name.
https://<your-custom-domain>.tmnl.co
Or verify with the CID.
https://ipfs.io/ipfs/<CID>
Step 3: Updates
Fleek will automatically redeploy your website whenever you make changes on GitHub. The provided domain name will remain the same and will point to the new CID. This enables you to build fast modern websites hosted on IPFS.