Skip to content

Commit 09c5237

Browse files
author
李茂益
committed
修改readme.en.md
1 parent c8a6952 commit 09c5237

File tree

1 file changed

+20
-34
lines changed

1 file changed

+20
-34
lines changed

Readme.en.md

Lines changed: 20 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -62,46 +62,32 @@
6262
6363
> 🔒 Secure local deployment: If you're concerned about data security, fret not! Auto_PPT supports local deployment; simply add your OpenAI API key and Unsplash API key information.
6464
65-
## 🎨 Deployment Guide
66-
67-
> The project requires a Python environment, preferably Python 3 or higher. The author used Python 3.9.
68-
69-
> 1. Create a virtual environment
70-
71-
```bash
72-
python -m venv venv
65+
## 🎨 Deployment Guide
66+
>The project operation requires a Python environment, and it is recommended to use Python 3 or above. The author uses Python 3.9
67+
>1 Creating a virtual environment
68+
```Bash
69+
python - m venv venv
7370
```
74-
75-
> 2. Activate the virtual environment
76-
77-
```bash
78-
. venv/bin/activate
71+
>2 Activate virtual environment
72+
```Bash
73+
. venv/bin/activate
7974
```
80-
81-
> 3. Install the required Python components
82-
83-
```bash
84-
pip install -r requirements.txt
75+
>3 Install required Python components
76+
```Bash
77+
pip install - r requirements. txt
8578
```
86-
87-
> 4. Add your API key in config.ini
88-
89-
> 5. Replace www.limaoyi.top with 127.0.0.1 in ./templates/index.html
90-
91-
> 6. Run the project
92-
93-
> To run:
94-
```bash
79+
>4 Add your API key in config.ini
80+
>5 Modify/ The base absolute path of readconfig/mycofig.py makes it the folder path of config.ini
81+
>6 Run Project
82+
>Run
83+
```Bash
9584
python application.py
9685
```
97-
98-
> Or (production mode) in a Linux-like environment, run the following command
99-
100-
```bash
101-
gunicorn -b 0.0.0.0:5000 --log-level=debug --threads 4 app:application > gunicorn.log 2>&1 &
86+
>Alternatively (in production mode), the following commands need to be run in a Linux like environment
87+
```Bash
88+
gunicorn - b 0.0.0.0:5000-- log level=debug -- threads 4 app: application>gunicorn. log 2>&1&
10289
```
103-
104-
> 7. Visit http://127.0.0.1:5000
90+
>7 Access http://127.0.0.1:5000
10591
10692
## 💡 Next Version
10793

0 commit comments

Comments
 (0)