Le site pour The Daltons Crew.
https://daltons-crew.itsnova.sh
- Svelte 72.4%
- TypeScript 21%
- CSS 4.5%
- JavaScript 1.6%
- HTML 0.3%
- Other 0.2%
| .vscode | ||
| prisma | ||
| src | ||
| static | ||
| .dockerignore | ||
| .env.example | ||
| .gitattributes | ||
| .gitignore | ||
| .npmrc | ||
| .prettierignore | ||
| .prettierrc | ||
| components.json | ||
| compose.yml | ||
| Dockerfile | ||
| eslint.config.js | ||
| package-lock.json | ||
| package.json | ||
| prisma.config.ts | ||
| README.md | ||
| svelte.config.js | ||
| tsconfig.json | ||
| vite.config.ts | ||
Daltons Crew
[INSÉRER SLOGAN ICI]
Getting Started
You must have NodeJS v24+ and Docker Compose installed.
Development
-
Install the dependencies.
npm install -
Create a
.envfile based on.env.example.cp .env.example .env -
Generate the prisma client.
npx prisma generate -
Run the services using
docker compose.# Start the container docker compose up --watch --build # Stop the container docker compose stop # Remove everything docker compose down --remove-orphans -
(Optional) Seed the database.
First, create the data inside
prisma/data.jsonwith the following structure.[ { "nickname": "johndoe304", "name": "John", "skill": { "top": 9, "jungle": 7, "mid": 3, "adc": 4, "support": 3 }, "preference": { "top": 1, "jungle": 2, "mid": 4, "adc": 3, "support": 5 } } // Other players... ]npx prisma db seed -
Open your browser at http://localhost:5173.