This is a simple website template for getting NFT information directly from chain. It uses wallet (like metamask) to assure NFT connection.
Update js/env.js file with you own addresses.
Serve root folder with any http server. For example, you can run node package http-server from root folder like this:
npx http-server
To deploy your NFT website to Apillon Hosting you should:
- Clone this repository and configure it to your needs.
- If not already, register to Apillon.io
- Log in to Apillon console and create new Hosting bucket inside your project.
- In settings, create an API KEY with storage permissions. Write down API key and API secret.
- In your github repository setup actions secrets (variables)
- WEBSITE_UUID : copy UUID from hosting bucket on Appilon dashboard
- APILLON_API_KEY : your previously created API key
- APILLON_API_SECRET : your previously created API secret
Now everything should be ready. When you will push to master branch, your website should start deploy to Apillon IPFS hosting. Monitor progress on Apillon.io dashboard. After some time you'll be able to get IPNS url and also setup your own domain.
You can change behavior of the automatic deployment by editing /.github/workflows/deploy.yml.