File tree Expand file tree Collapse file tree 4 files changed +9
-10
lines changed
Expand file tree Collapse file tree 4 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ name: PyLint
33on :
44 push :
55 paths :
6- - ' content-gen/ src/backend/**/*.py'
7- - ' content-gen/ src/backend/requirements*.txt'
6+ - ' src/backend/**/*.py'
7+ - ' src/backend/requirements*.txt'
88 - ' .flake8'
99 - ' .github/workflows/pylint.yml'
1010
2929 - name : Install dependencies
3030 run : |
3131 python -m pip install --upgrade pip
32- pip install -r content-gen/ src/backend/requirements.txt
32+ pip install -r src/backend/requirements.txt
3333 pip install flake8 # Ensure flake8 is installed explicitly
3434
3535 - name : Run flake8
3636 run : |
37- flake8 --config=.flake8 content-gen/ src/backend # Specify the directory to lint
37+ flake8 --config=.flake8 src/backend # Specify the directory to lint
Original file line number Diff line number Diff line change @@ -67,7 +67,6 @@ az login --use-device-code
6767### 2. Initialize Environment
6868
6969``` bash
70- cd content-gen
7170
7271# Create a new environment
7372azd env new < environment-name>
Original file line number Diff line number Diff line change @@ -82,9 +82,9 @@ The final table lists regions with available quota. You can select any of these
82821. Open the terminal in VS Code or Codespaces.
83832. If you' re using VS Code, click the dropdown on the right side of the terminal window, and select `Git Bash`.
8484 
85- 3. Navigate to the `content-gen/ infra/scripts` folder where the script files are located and make the script as executable:
85+ 3. Navigate to the `infra/scripts` folder where the script files are located and make the script as executable:
8686 ```sh
87- cd content-gen/ infra/scripts
87+ cd infra/scripts
8888 chmod +x quota_check_params.sh
8989 ```
90904. Run the appropriate script based on your requirement:
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ Using Azure Developer CLI (`azd`):
110110``` bash
111111# Clone the repository
112112git clone < repository-url>
113- cd content-gen
113+ cd content-generation-solution-accelerator
114114
115115# Deploy everything with one command
116116azd up
@@ -125,7 +125,7 @@ For more control over individual resources:
125125``` bash
126126# Clone the repository
127127git clone < repository-url>
128- cd content-gen
128+ cd content-generation-solution-accelerator
129129
130130# Run deployment script
131131./scripts/deploy.sh
@@ -137,7 +137,7 @@ See [DEPLOYMENT.md](./DEPLOYMENT.md) for detailed manual deployment instructions
137137
138138``` bash
139139# Backend
140- cd src
140+ cd src/backend
141141pip install -r requirements.txt
142142python app.py
143143
You can’t perform that action at this time.
0 commit comments