Supprimer README.md
This commit is contained in:
parent
ef082b6d7e
commit
ad5205d315
58
README.md
58
README.md
@ -1,58 +0,0 @@
|
|||||||
# My Blog Application
|
|
||||||
|
|
||||||
## Description
|
|
||||||
This is a blog application where users can add and delete articles easily. The application consists of a form to add articles on the left side and a list of existing articles on the right side.
|
|
||||||
|
|
||||||
## Features
|
|
||||||
- Add a new article by entering a title and content.
|
|
||||||
- View all articles in a clean and structured layout.
|
|
||||||
- Delete an article with a single click.
|
|
||||||
|
|
||||||
## Installation & Setup
|
|
||||||
### Requirements
|
|
||||||
- Docker
|
|
||||||
- Docker Compose
|
|
||||||
|
|
||||||
### Steps to Run the Application
|
|
||||||
1. Clone the repository:
|
|
||||||
```bash
|
|
||||||
git clone <repository_url>
|
|
||||||
cd z1
|
|
||||||
```
|
|
||||||
2. Prepare the application:
|
|
||||||
```bash
|
|
||||||
./prepare-app.sh
|
|
||||||
```
|
|
||||||
3. Start the application:
|
|
||||||
```bash
|
|
||||||
./start-app.sh
|
|
||||||
```
|
|
||||||
4. Open a web browser and go to:
|
|
||||||
```
|
|
||||||
http://localhost:5000
|
|
||||||
```
|
|
||||||
|
|
||||||
### Stopping the Application
|
|
||||||
To stop the application, run:
|
|
||||||
```bash
|
|
||||||
./stop-app.sh
|
|
||||||
```
|
|
||||||
|
|
||||||
### Removing the Application
|
|
||||||
To completely remove all data and configurations, run:
|
|
||||||
```bash
|
|
||||||
./remove-app.sh
|
|
||||||
```
|
|
||||||
|
|
||||||
## Technology Stack
|
|
||||||
- **Backend**: Flask (Python)
|
|
||||||
- **Database**: PostgreSQL
|
|
||||||
- **Frontend**: HTML + CSS (Embedded in Flask)
|
|
||||||
- **Containerization**: Docker & Docker Compose
|
|
||||||
|
|
||||||
## How It Works
|
|
||||||
- When an article is added, it is stored in a PostgreSQL database.
|
|
||||||
- The articles are displayed dynamically on the page.
|
|
||||||
- The delete button allows users to remove articles from the database.
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user