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

Formatting CONTRIBUTING.md #98

Merged
merged 1 commit into from
Oct 24, 2024
Merged
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
24 changes: 11 additions & 13 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Welcome to Streamlit component template! We appreciate your interest in contributing to our project.

## Setting up pyenv and Intellij Idea
## Setting up pyenv and Intellij IDEA

### 1. Install pyenv

Expand All @@ -16,11 +16,11 @@ $ curl https://pyenv.run | bash
```shell
$ pyenv install <python_version>
```
- python_version - version of python, you can use
- python_version - version of python. To check all available versions (recommended 3.11.4) use:
```shell
$ pyenv install --list
```
to check all available version, recommended 3.11.4


### 3. Creating virtual environment

Expand All @@ -44,11 +44,11 @@ $ pyenv activate <environment_name>
To configure your Python SDK in your project, follow these steps:

1. Open "File" menu.
2. Navigate to "Project Structure."
3. Under "Project," locate "Edit (SDK)."
2. Navigate to "Project Structure".
3. Under "Project," locate "Edit (SDK)".
4. Click on "Add Python SDK" (using the plus button).
5. Select "Virtualenv Environment."
6. Choose "Existing environment."
5. Select "Virtualenv Environment".
6. Choose "Existing environment".
7. Specify the path to your Python environment using <your_pyenv_location>.

## Run locally example
Expand Down Expand Up @@ -82,9 +82,9 @@ $ pip install -e .

### 5. Run python script and frontend

Example for CustomDataframe
**Example for CustomDataframe**

Run python script
Run python script:
```shell
$ streamlit run examples/CustomDataframe/custom_dataframe/example.py
```
Expand All @@ -101,11 +101,11 @@ $ npm run start

### 1. Run example locally

Please check "Run Locally example" section
Please check "Run Locally example" section.

### 2. Run pytest command

Example for CustomDataframe
Example for CustomDataframe:

```shell
$ pytest examples/CustomDataframe/e2e
Expand Down Expand Up @@ -148,5 +148,3 @@ Run:
$ pip install -e .
```
inside template directory.


Loading