Installation
How to install and run the AuroraMC template.
Installation Guide
Follow these steps to get your AuroraMC store up and running.
Prerequisites
Before you begin, ensure you have the following installed:
- Node.js 18+ (Download)
- npm (comes with Node.js)
- A Tebex account with a created webstore.
Setup Instructions
1. Install Dependencies
Navigate to your project directory and install the required packages.
cd AuroraMC-main
npm install2. Configure Environment Variables
Create a .env file in the root directory (you can copy .env.example).
You will need your Tebex Public Token and Secret Key.
VITE_TEBEX_PUBLIC_TOKEN=your_tebex_public_token
VITE_TEBEX_SECRET_KEY=your_tebex_secret_key
VITE_TEBEX_STORE_ID=your_tebex_store_id[!TIP] You can find these keys in your Tebex Dashboard under Settings > API. Enable "Headless API" first.
3. Run Development Server
Start the local development server to preview your store.
npm run devThe site should now be running at http://localhost:5173.
4. Build for Production
When you are ready to deploy, build the application.
npm run buildThis will create a dist folder containing your static website files, ready for hosting on Vercel, Netlify, or any web server.
Troubleshooting
Missing Dependencies?
If you encounter errors about missing modules, try deleting node_modules and running npm install again.
API Errors?
Ensure your Tebex keys are correct in the .env file. Also, verify that the Headless API is enabled in your Tebex panel.