Quick Start Guide¶
Get up and running with Immersive Awe Canvas in minutes.
Prerequisites¶
- Node.js 16+ (recommend using nvm)
- Bun (recommended) or npm
- Git
Local Development¶
1. Clone the Repository¶
git clone https://github.com/BA-CalderonMorales/immersive-awe-canvas.git
cd immersive-awe-canvas
2. Install Dependencies¶
Using Bun (recommended):
bun install
Or using npm:
npm install
3. Start the Development Server¶
Using Bun:
bun run dev
Using npm:
npm run dev
Open http://localhost:5173 in your browser.
4. Build for Production¶
Using Bun:
bun run build
Using npm:
npm run build
The production build will be in the dist/ directory.
5. Preview Production Build¶
Using Bun:
bun run preview
Using npm:
npm run preview
Deployment¶
The project is automatically deployed to GitHub Pages on every push to the main branch. Pull requests generate preview deployments for review.
Manual Deployment¶
-
Build the project:
bash bun run build -
Deploy to GitHub Pages:
bash git add dist -f git commit -m "Deploy to GitHub Pages" git subtree push --prefix dist origin gh-pages
Project Scripts¶
dev: Start development serverbuild: Create production buildpreview: Preview production build locallylint: Run ESLintformat: Format code with Prettier
Next Steps¶
- Explore the Details for advanced configuration
- Check out the keyboard shortcuts for navigation
- Learn how to create custom worlds