update project structure

This commit is contained in:
mr0x50
2024-11-19 22:10:09 +01:00
parent f4c7017997
commit 23977a171f
236 changed files with 32 additions and 58 deletions

View File

View File

@@ -7,7 +7,7 @@ RUN apk add --no-cache libc6-compat
WORKDIR /app
# Install dependencies based on the preferred package manager
COPY lumina/package.json lumina/yarn.lock* lumina/package-lock.json* lumina/pnpm-lock.yaml* ./
COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* ./
RUN \
if [ -f yarn.lock ]; then yarn --frozen-lockfile; \
elif [ -f package-lock.json ]; then npm ci; \
@@ -20,7 +20,7 @@ RUN \
FROM base AS builder
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY lumina/. .
COPY . .
# Next.js collects completely anonymous telemetry data about general usage.
# Learn more here: https://nextjs.org/telemetry

View File

@@ -1,23 +1,36 @@
# lumina.rocks
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
A social media for images and pictures 📸
## Getting Started
## Docker
### Quickstart
```
docker run --rm -it -p 3000:3000 ghcr.io/lumina-rocks/lumina:main
```
or with Docker Compose
```
docker compose up -d
First, run the development server:
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```
## Umami
Umami is disabled by default.
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
To enable Umami edit the `.env` file in the `lumina` directory.
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
Then build the Docker Image again and restart the container.
```
docker compose up -d --build
```
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
## Learn More
To learn more about Next.js, take a look at the following resources:
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
## Deploy on Vercel
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.

View File

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Some files were not shown because too many files have changed in this diff Show More