Skip to content

Commit 39f0075

Browse files
committed
test
1 parent 57daed9 commit 39f0075

File tree

6 files changed

+107
-497
lines changed

6 files changed

+107
-497
lines changed

.github/workflows/main_backendbluenps.yml

+12-13
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,12 @@ jobs:
2323
python-version: '3.12'
2424

2525
- name: Create and start virtual environment
26+
working-directory: ./bluenpsbackend
2627
run: |
2728
python -m venv venv
2829
source venv/bin/activate
29-
30-
- name: Install dependencies
31-
run: pip install -r requirements.txt
32-
30+
31+
3332
# Optional: Add step to run tests here (PyTest, Django test suites, etc.)
3433

3534
- name: Zip artifact for deployment
@@ -49,8 +48,8 @@ jobs:
4948
environment:
5049
name: 'Production'
5150
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
52-
permissions:
53-
id-token: write #This is required for requesting the JWT
51+
permissions:
52+
id-token: write #This is required for requesting the JWT
5453

5554
steps:
5655
- name: Download artifact from build job
@@ -61,13 +60,13 @@ jobs:
6160
- name: Unzip artifact for deployment
6261
run: unzip release.zip
6362

64-
65-
- name: Login to Azure
66-
uses: azure/login@v1
67-
with:
68-
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_5D5BE84F72B6418DA3021095978ABD20 }}
69-
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_B3EE49EEC1084718B0A446AAACDE3BE8 }}
70-
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_0FD85ED14F714A3091FF152944D5BD8A }}
63+
64+
- name: Login to Azure
65+
uses: azure/login@v1
66+
with:
67+
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_5D5BE84F72B6418DA3021095978ABD20 }}
68+
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_B3EE49EEC1084718B0A446AAACDE3BE8 }}
69+
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_0FD85ED14F714A3091FF152944D5BD8A }}
7170

7271
- name: 'Deploy to Azure Web App'
7372
uses: azure/webapps-deploy@v2

bluenps/angular.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,13 @@
2525
"src/assets"
2626
],
2727
"styles": [
28-
"src/styles.css"
28+
"node_modules/bootstrap/scss/bootstrap.scss",
29+
"node_modules/bootstrap-icons/font/bootstrap-icons.css",
30+
"src/styles.css"
2931
],
30-
"scripts": []
32+
"scripts": [
33+
"node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"
34+
]
3135
},
3236
"configurations": {
3337
"production": {

bluenps/package-lock.json

+45
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bluenps/package.json

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
"@angular/platform-browser": "^16.0.0",
1919
"@angular/platform-browser-dynamic": "^16.0.0",
2020
"@angular/router": "^16.0.0",
21+
"bootstrap": "^5.3.3",
22+
"bootstrap-icons": "^1.11.3",
2123
"rxjs": "~7.8.0",
2224
"tslib": "^2.3.0",
2325
"zone.js": "~0.13.0"

0 commit comments

Comments
 (0)