Creating Mint Page
Last updated
Last updated
Run the following commands in the Minting Folder on the CLI page. You are creating a ‘mintpage’ folder within the Minting Folder.
While in the mintpage folder on the CLI, input in the following commands. The following folders have been automatically created and cloned for you using the github link above.
[IMPORTANT] Copy the assets folder, arweave json and config.json into this folder (From CLI folder). Your backend folder should look like this.
[CLI] Run the following command.
Open up a new Terminal / Command Prompt window.
Navigate to Minting Folder using the CLI. Input in the following commands.
Create .env file in the frontend folder.
For Windows users, you can copy from .env.testnet in the same folder and rename it to .env
For Mac users, input in the following code.
An empty .env file will appear in the CLI interface. Input in the following:
For REACT_APP_API_BASE_URL, please input in your server URL.
For REACT_APP_APTOS_NETWORK, please input in the environment you are working on (eg. testnet if you are on testnet).
Your CLI interface should look something like this.
Once the .env file is setup correctly, save and exit the .env file.
Run the following command.
Web browser will open up on http://localhost:3000/