You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -133,7 +133,7 @@ Steps:
133
133
poetry env info
134
134
```
135
135
136
-
3. Create an .env file and add environment variables
136
+
3. Create an .env file and add environment variables.
137
137
```
138
138
AWS_PROFILE={your_profile}
139
139
IMMUNIZATION_ENV=local
@@ -154,6 +154,14 @@ Steps:
154
154
```
155
155
Test if environment variables have been loaded into shell: `echo $IMMUNIZATION_ENV`.
156
156
157
+
### Setting up the root level environment
158
+
The root-level virtual environment is primarily used for linting, as we create separate virtual environments for each folder that contains Lambda functions.
159
+
Steps:
160
+
1. Follow instructions above to [install dependencies](#install-dependencies) & [set up a virtual environment](#setting-up-a-virtual-environment-with-poetry).
161
+
2. Run `make lint`. This will:
162
+
- Check the linting of the API specification yaml.
163
+
- Run Flake8 on all Python files in the repository, excluding files inside .venv and .terraform directories.
164
+
157
165
## IDE setup
158
166
The current team uses VS Code mainly. So this setup is targeted towards VS code. If you use another IDE please add the documentation to set up workspaces here.
0 commit comments