2
2
3
3
Welcome to Streamlit component template! We appreciate your interest in contributing to our project.
4
4
5
- ## Setting up pyenv and Intellij Idea
5
+ ## Setting up pyenv and Intellij IDEA
6
6
7
7
### 1. Install pyenv
8
8
@@ -16,11 +16,11 @@ $ curl https://pyenv.run | bash
16
16
``` shell
17
17
$ pyenv install < python_version>
18
18
```
19
- - python_version - version of python, you can use
19
+ - python_version - version of python. To check all available versions (recommended 3.11.4) use:
20
20
``` shell
21
21
$ pyenv install --list
22
22
```
23
- to check all available version, recommended 3.11.4
23
+
24
24
25
25
### 3. Creating virtual environment
26
26
@@ -44,11 +44,11 @@ $ pyenv activate <environment_name>
44
44
To configure your Python SDK in your project, follow these steps:
45
45
46
46
1 . Open "File" menu.
47
- 2 . Navigate to "Project Structure."
48
- 3 . Under "Project," locate "Edit (SDK)."
47
+ 2 . Navigate to "Project Structure".
48
+ 3 . Under "Project," locate "Edit (SDK)".
49
49
4 . Click on "Add Python SDK" (using the plus button).
50
- 5 . Select "Virtualenv Environment."
51
- 6 . Choose "Existing environment."
50
+ 5 . Select "Virtualenv Environment".
51
+ 6 . Choose "Existing environment".
52
52
7 . Specify the path to your Python environment using <your_pyenv_location>.
53
53
54
54
## Run locally example
@@ -82,9 +82,9 @@ $ pip install -e .
82
82
83
83
### 5. Run python script and frontend
84
84
85
- Example for CustomDataframe
85
+ ** Example for CustomDataframe**
86
86
87
- Run python script
87
+ Run python script:
88
88
``` shell
89
89
$ streamlit run examples/CustomDataframe/custom_dataframe/example.py
90
90
```
@@ -101,11 +101,11 @@ $ npm run start
101
101
102
102
### 1. Run example locally
103
103
104
- Please check "Run Locally example" section
104
+ Please check "Run Locally example" section.
105
105
106
106
### 2. Run pytest command
107
107
108
- Example for CustomDataframe
108
+ Example for CustomDataframe:
109
109
110
110
``` shell
111
111
$ pytest examples/CustomDataframe/e2e
148
148
$ pip install -e .
149
149
```
150
150
inside template directory.
151
-
152
-
0 commit comments