Kredeum / kredeum

Kredeum NFTs Factory
MIT License
11 stars 7 forks source link
factory kredeum nft nfts wordpress

Kredeum NFTs

Instructions

Before installation, you need node, pnpm, some environment variables and a local WordPress (for plugin only). For detailed instructions, check pre-installation section.

First install npm packages:

pnpm install

To launch Dapp in dev mode:

pnpm dev:dapp

To build Dapp, then launch it in production mode:

pnpm build:dapp
pnpm preview:dapp

To build WP Plugin, then lauch it inside your browser:

pnpm build:plugin
open http://localhost:8000/wp-admin/admin.php?page=nfts

Modules :

Kredeum Factory is splitted in various modules listed bellow :

  1. sveltekit : SvelteKit main app (svelte)
  2. svelte : Svelte UI components (svelte)
  3. contracts : Smartcontrats (solidity)
  4. wordpress : WordPress Kredeum NFTs Factory Plugin (PHP/js)
  5. gulp : Static UI (html, css)
  6. config : Configuration files with network settings (json)
  7. common : Common libraries (typescript)
  8. misc : Other tools, datas and archives

In each of these specific directories you will access more advanced commands

GitHub Action

Deploy to WordPress.org

Pre installation

Then link wordpress/kredeum-nfts directory of this repo to the plugin directory of your WordPress installation:

 ln -s /path/to/this/repo/wordpress/kredeum-nfts /path/to/your/wordpress/wp-content/plugins/kredeum-nfts