mirror of
https://github.com/Kludex/awesome-fastapi-projects.git
synced 2025-05-13 20:57:04 +00:00
23 lines
488 B
Markdown
23 lines
488 B
Markdown
# Local development
|
|
|
|
## Setup
|
|
|
|
### Python and Virtual Environment
|
|
|
|
The instructions below assume you have [pyenv](https://github.com/pyenv/pyenv) installed.
|
|
If you don't, use any other method to create a virtual environment
|
|
and install Python 3.11.4.
|
|
|
|
- Install Python 3.11.4
|
|
```shell
|
|
pyenv install 3.11.4
|
|
```
|
|
- Create a virtual environment
|
|
```shell
|
|
pyenv virtualenv 3.11.4 awesome-fastapi-projects
|
|
```
|
|
- Activate the virtual environment
|
|
```shell
|
|
pyenv local awesome-fastapi-projects
|
|
```
|