A Vue.js frontend application for createing achievements on the permaweb.
- Node.js (v22 or higher)
- npm or yarn
- Arweave wallet keyfile (for deployment)
- Clone the repository and navigate to the project directory:
cd cheese-mint-site- Install dependencies:
npm installThe following environment variables are used for deployment:
PRIVATE_KEY- Path to your Arweave wallet keyfile
Start the development server:
npm run devThe application will be available at http://localhost:5173
npm run dev- Start development server with hot reloadnpm run build- Build for productionnpm run preview- Preview production build locally
The project uses a custom deployment script that uploads the built application to Arweave using Turbo.
Before building, make sure you have the appropriate environment variables set, as described above.
- First, build the application:
npm run build- Deploy to Arweave:
PRIVATE_KEY=path/to/your/wallet.json npx tsx operations/deploy.tsThe deployment script will:
- Upload the
distfolder to Arweave via Turbo - Create a manifest with
index.htmlas both index and fallback - Return the manifest transaction ID for accessing the deployed site
src/- Vue.js application source codecomponents/- Reusable Vue componentsviews/- Page componentscomposables/- Vue composition functionstypes/- TypeScript type definitions
public/- Static assetsoperations/- Deployment and operational scriptsdist/- Built application (generated)