- added instructions on docker usage

This commit is contained in:
Aeolin Ferjünnoz 2026-04-12 17:18:29 +02:00
parent 806ad23315
commit 4eaea29513
2 changed files with 9 additions and 50 deletions

View File

@ -20,10 +20,16 @@ This project is built with with HTML, CSS and Java Script.
## Installment (for local use)
1. Clone the repository
2. Open the project folder
3. Run with Live Server Extension
2. Create an .env file and copy the example below into it
3. Run `docker compose -f docker-compose.yml --env-file .env up -d --build`
4. Website will be available at `http://localhost:1801`
### Example envfile
```
code....
PORT_PREFIX=180
DB_USER=onlyprompt
DB_NAME=onlyprompt
DB_PASSWORD=onlyprompt
```
## Technologies, Libraries, Frameworks

View File

@ -1,47 +0,0 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>OnlyPrompt AI Prompt Marketplace</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="assets/css/main.css">
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container">
<a class="navbar-brand" href="#">OnlyPrompt</a>
</div>
</nav>
<header class="container text-center mt-5">
<h1 class="display-4">OnlyPrompt</h1>
<p class="lead">
A marketplace to discover, share and sell high-quality AI prompts.
</p>
</header>
<main class="container mt-5">
<h2>Available Prompts</h2>
<div id="prompt-list">
<p>Prompts will be displayed here soon...</p>
</div>
</main>
<footer class="text-center mt-5 mb-3">
<p>&copy; 2026 OnlyPrompt Project</p>
</footer>
<script src="assets/js/app.js"></script>
</body>
</html>