Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,28 @@ pyenv install 3.11.3
docker run -d -p 8080:8080 --name pastepyprod mrsunglasses/pastepy
```

- **Using docker-compose**:
You can also use docker-compose to run the project locally by running the following command:
<br>
- **Clone the repository**:
Get the project source code from GitHub:

```bash
git clone https://github.com/FOSS-Community/paste.py.git
```

- **Navigate to the Project Directory**:

```bash
cd paste.py
```

- **Run the project using docker-compose**:

```bash
docker-compose up -d
```

## Local setup 🛠️ without Docker 🐳

### Setting Up the Project with PDM
Expand Down
10 changes: 10 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: '3.8'

services:
myapp:
build:
context: .
target: builder
ports:
- "8080:8080"
command: ["pdm", "run", "start"]