Skip to content

Commit 29571ab

Browse files
committed
Ajout d'un avertissement de sécurité dans le README et mise à jour du lien de déploiement dans le template HTML.
1 parent b5a2079 commit 29571ab

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,21 +64,17 @@ The admin interface will be available at: `http://localhost:8000/admin`
6464

6565
## Production Deployment
6666

67+
:::warning
68+
Please, secure your server before deploying this application to production.
69+
:::
6770

6871
1. Clone the repository:
6972
```bash
7073
git clone git clone https://github.com/yoanbernabeu/OpenStreamPoll.git
7174
cd OpenStreamPoll
7275
```
7376

74-
2. Configure your environment:
75-
```bash
76-
cp .env .env.local
77-
```
78-
79-
3. Edit `compose.yaml` and set your domain name in the `SERVER_NAME` environment variable.
80-
81-
4. Let the magic happen:
77+
1. Let the magic happen:
8278
```bash
8379
make start
8480
```

templates/home/index.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@
300300
</svg>
301301
Clone on GitHub
302302
</a>
303-
<a href="https://github.com/yoanbernabeu/OpenStreamPoll#deployment" class="btn btn-ghost gap-2">
303+
<a href="https://github.com/yoanbernabeu/OpenStreamPoll?tab=readme-ov-file#production-deployment" class="btn btn-ghost gap-2">
304304
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
305305
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253" />
306306
</svg>

0 commit comments

Comments
 (0)