Skip to content
代码片段 群组 项目
未验证 提交 52bb53f1 编辑于 作者: Amy Qualls's avatar Amy Qualls 提交者: GitLab
浏览文件

Merge branch 'duo-tutorial-followup' into 'master'

Fix issues with tutorial code snippet

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/184453



Merged-by: default avatarAmy Qualls <aqualls@gitlab.com>
Approved-by: default avatarAmy Qualls <aqualls@gitlab.com>
Co-authored-by: default avatarJonathan Glassman <jglassman@gitlab.com>
No related branches found
No related tags found
加载中
......@@ -691,10 +691,10 @@ wheels/
{{< /tab >}}
{{< tab title="README.md" >}}
<!-- markdownlint-disable MD029 -->
A comprehensive `README` file with setup and usage instructions.
```markdown
````markdown
# Bookstore Inventory Management System
A Python web application for managing bookstore inventory, built with Flask and SQLite.
......@@ -721,20 +721,20 @@ A Python web application for managing bookstore inventory, built with Flask and
cd python-shop-app
```
1. Create and activate a virtual environment:
2. Create and activate a virtual environment:
```shell
python -m venv myenv
source myenv/bin/activate # On Windows: myenv\Scripts\activate
```
1. Install dependencies:
3. Install dependencies:
```shell
pip install -r requirements.txt
```
1. Set up environment variables:
4. Set up environment variables:
Copy `.env.example` to `.env` and modify as needed.
......@@ -746,7 +746,7 @@ A Python web application for managing bookstore inventory, built with Flask and
flask run
```
1. The API will be available at `http://localhost:5000/`
2. The API will be available at `http://localhost:5000/`
## API Endpoints
......@@ -763,7 +763,8 @@ Run tests with `pytest`:
```python
python -m pytest
```
````
<!-- markdownlint-enable MD029 -->
{{< /tab >}}
{{< tab title="requirements.txt" >}}
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册