diff --git a/examples/fastapi-gql/README.md b/examples/fastapi-gql/README.md index 78b5639..4c7195c 100644 --- a/examples/fastapi-gql/README.md +++ b/examples/fastapi-gql/README.md @@ -27,10 +27,19 @@ source env/bin/activate ``` -2. Install the requirements from requirements.txt +2. Install the requirements from corresponding requirements file + + - For development + + ```bash + pip install -r requirements.dev.txt + ``` + + - For production ```bash - pip install -r requirements.txt``` + pip install -r requirements.txt + ``` ## Usage diff --git a/examples/fastapi-gql/requirements.dev.txt b/examples/fastapi-gql/requirements.dev.txt new file mode 100644 index 0000000..b8cef39 --- /dev/null +++ b/examples/fastapi-gql/requirements.dev.txt @@ -0,0 +1,4 @@ +-r requirements-prod.txt # Include the production dependencies +factory-boy +Faker +flake8 \ No newline at end of file diff --git a/examples/fastapi-gql/requirements.txt b/examples/fastapi-gql/requirements.txt index 541537d..965125c 100644 --- a/examples/fastapi-gql/requirements.txt +++ b/examples/fastapi-gql/requirements.txt @@ -1,7 +1,4 @@ -factory-boy -Faker fastapi -flake8 strawberry-graphql uvicorn[standard] tortoise-orm[asyncpg]