Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete duplicate examples from reorganization #130

Merged
merged 7 commits into from
Mar 1, 2024
Merged
Show file tree
Hide file tree
Changes from 4 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
2 changes: 1 addition & 1 deletion doc/apps/chainlit.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ To deploy a Chainlit application in Ploomber Cloud you need:

## `Dockerfile`

You need to provide a `Dockerfile`, you can use this [template](https://github.com/ploomber/doc/blob/main/examples/docker/chainlit/Dockerfile) to get started. The template contains the minimal steps needed for a deployment but you need to modify so it installs any required dependencies and copies your code into the Docker image.
You need to provide a `Dockerfile`, you can use this [template](https://github.com/ploomber/doc/blob/main/examples/chainlit/basic-app/Dockerfile) to get started. The template contains the minimal steps needed for a deployment but you need to modify so it installs any required dependencies and copies your code into the Docker image.

```Dockerfile
FROM python:3.11
Expand Down
4 changes: 2 additions & 2 deletions doc/apps/django.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
To deploy a Django application in Ploomber Cloud you need:

- A `Dockerfile`
- A Django project ([example](https://github.com/ploomber/doc/blob/main/examples/django/basicapp))
- A Django project ([example](https://github.com/ploomber/doc/blob/main/examples/django/basic-app))


## `Dockerfile`

You need to provide a `Dockerfile`, you can use this [template](https://github.com/ploomber/doc/blob/main/examples/django/basicapp/Dockerfile) to get started. A basic `Dockerfile` looks like this:
You need to provide a `Dockerfile`, you can use this [template](https://github.com/ploomber/doc/blob/main/examples/django/basic-app/Dockerfile) to get started. A basic `Dockerfile` looks like this:

```Dockerfile
FROM python:3.11
Expand Down
2 changes: 1 addition & 1 deletion doc/apps/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ To deploy a Docker-based web application in Ploomber Cloud you need:
- Your code
## `Dockerfile`

You need to provide a `Dockerfile`, you can use this [flask-based template](https://github.com/ploomber/doc/blob/main/examples/docker/flask/Dockerfile) to get started.
You need to provide a `Dockerfile`, you can use this [flask-based template](https://github.com/ploomber/doc/blob/main/examples/flask/basic-app/Dockerfile) to get started.

For a successful deployment, you app must run in port 80.

Expand Down
2 changes: 1 addition & 1 deletion doc/apps/fastapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ To deploy a FastAPI application in Ploomber Cloud you need:

## `Dockerfile`

You need to provide a `Dockerfile`, you can use this [template](https://github.com/ploomber/doc/blob/main/examples/docker/fastapi/Dockerfile) to get started. The template contains the minimal steps needed for a deployment but you need to modify so it installs any required dependencies and copies your code into the Docker image.
You need to provide a `Dockerfile`, you can use this [template](https://github.com/ploomber/doc/blob/main/examples/fastapi/basic-app/Dockerfile) to get started. The template contains the minimal steps needed for a deployment but you need to modify so it installs any required dependencies and copies your code into the Docker image.

```Dockerfile
FROM python:3.11
Expand Down
2 changes: 1 addition & 1 deletion doc/apps/flask.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ To deploy a Flask application in Ploomber Cloud you need:
- Your code
## `Dockerfile`

You need to provide a `Dockerfile`, you can use this [template](https://github.com/ploomber/doc/blob/main/examples/docker/flask/Dockerfile) to get started. The template contains the minimal steps needed for a deployment but you need to modify so it installs any required dependencies and copies your code into the Docker image.
You need to provide a `Dockerfile`, you can use this [template](https://github.com/ploomber/doc/blob/main/examples/flask/basic-app/Dockerfile) to get started. The template contains the minimal steps needed for a deployment but you need to modify so it installs any required dependencies and copies your code into the Docker image.

```Dockerfile
FROM python:3.11
Expand Down
2 changes: 1 addition & 1 deletion doc/apps/gradio.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ To deploy a Gradio application in Ploomber Cloud you need:

## `Dockerfile`

You need to provide a `Dockerfile`, you can use this [template](https://github.com/ploomber/doc/blob/main/examples/docker/gradio/Dockerfile) to get started. The template contains the minimal steps needed for a deployment but you need to modify so it installs any required dependencies and copies your code into the Docker image.
You need to provide a `Dockerfile`, you can use this [template](https://github.com/ploomber/doc/blob/main/examples/gradio/basic-app/Dockerfile) to get started. The template contains the minimal steps needed for a deployment but you need to modify so it installs any required dependencies and copies your code into the Docker image.

```Dockerfile
FROM python:3.11
Expand Down
2 changes: 1 addition & 1 deletion doc/apps/shiny-express.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ To deploy a [Shiny Express](https://shiny.posit.co/blog/posts/shiny-express/) ap

## `Dockerfile`

Use this [template](https://github.com/ploomber/doc/blob/main/examples/docker/shiny-express/Dockerfile) `Dockerfile`:
Use this [template](https://github.com/ploomber/doc/blob/main/examples/shiny/express-tip-calculator/Dockerfile) `Dockerfile`:

```Dockerfile
FROM python:3.11
Expand Down
2 changes: 1 addition & 1 deletion doc/apps/shiny-python.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ To deploy a [Shiny](https://shiny.posit.co/py/docs/overview.html) Python applica

## `Dockerfile`

Use this [template](https://github.com/ploomber/doc/blob/main/examples/docker/shiny/Dockerfile) `Dockerfile`:
Use this [template](https://github.com/ploomber/doc/blob/main/examples/shiny/basic-app/Dockerfile) `Dockerfile`:

```Dockerfile
FROM python:3.11
Expand Down
2 changes: 1 addition & 1 deletion doc/apps/solara.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ To deploy a Solara app from the deployment menu, follow these instructions:
## Example
Ploomber has created an example solara app for your convenience.

Check it out [here.](https://github.com/ploomber/doc/blob/main/examples/solara/data-viz/app.py)
Check it out [here.](https://github.com/ploomber/doc/blob/main/examples/solara/gpt-4-tokenizer/app.py)
8 changes: 0 additions & 8 deletions examples/docker/chainlit/Dockerfile

This file was deleted.

3 changes: 0 additions & 3 deletions examples/docker/chainlit/README.md

This file was deleted.

10 changes: 0 additions & 10 deletions examples/docker/chainlit/app.py

This file was deleted.

Binary file removed examples/docker/chainlit/app.zip
Binary file not shown.
1 change: 0 additions & 1 deletion examples/docker/chainlit/chainlit.md

This file was deleted.

11 changes: 0 additions & 11 deletions examples/docker/chat-with-csv-solara/Dockerfile

This file was deleted.

23 changes: 0 additions & 23 deletions examples/docker/chat-with-csv-solara/README.md

This file was deleted.

Loading