Skip to content

Commit

Permalink
fix(*): create app folder
Browse files Browse the repository at this point in the history
  • Loading branch information
devang-chauhan committed Jun 9, 2022
1 parent edb3bf2 commit 711492a
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,34 +22,26 @@ Start Streamlit
```

Make changes to your app in the `app.py` file.
Make changes to your app in the `app.py` file in the "app".

## Run inside Docker image locally (Optional)
You can run the app locally inside Docker to ensure the app will work fine after the
deployment.

You need to install Docker on your machine in order to be able to run this command

```
> pollination-apps run <app folder> {{ cookiecutter.pollination_owner }} --name "{{ cookiecutter.project_name }}"
```
You can run the app locally inside Docker to ensure the app will work fine after the deployment.

## Push to Pollination
Push you app to pollination to share it with others.

Login to pollination:
You need to install Docker on your machine in order to be able to run this command

```
> pollination-apps login
> pollination-apps run app {{ cookiecutter.pollination_owner }} --name "{{ cookiecutter.project_name }}"
```

Deploy your app to pollination:
## Deploy to Pollination

```
> pollination-apps deploy . --name "{{ cookiecutter.project_name }}" --{{ cookiecutter.app_visibility }}
> pollination-apps deploy app --name "{{ cookiecutter.project_name }}" --{{ cookiecutter.app_visibility }} -api "Your api key from pollination"
```

{% if cookiecutter.ci == "github-actions" %}

## Configure Github Actions

In order to configure github actions to deploy your app you will need to:
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import streamlit as st

st.write("Welcome! Start writing your Pollination app here.")
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pollination-streamlit>=0.2.1

This file was deleted.

0 comments on commit 711492a

Please sign in to comment.