File size: 692 Bytes
71cbdd1
5c920e9
 
 
 
71cbdd1
5c920e9
71cbdd1
 
 
5c920e9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
title: Learn8 Demo
emoji: "📘"
colorFrom: blue
colorTo: indigo
sdk: docker
app_port: 7860
pinned: false
---

# Learn8 Demo

Next.js UI prototype prepared for deployment on Hugging Face Spaces.

## Local development

```bash
npm install
npm run dev
```

Local routes with the default `/UI` base path:

- `http://localhost:3000/UI/login`
- `http://localhost:3000/UI/welcome`
- `http://localhost:3000/UI/home`
- `http://localhost:3000/UI/store`
- `http://localhost:3000/UI/forge`

## Hugging Face Spaces

This repo includes a Docker configuration for Spaces. In the container build, the app disables the local `/UI` base path and serves the static export at the Space root on port `7860`.