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
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1040,13 +1040,19 @@ This demo works very similar to the flask-demo (We did it intentionally).
1040
1040
1041
1041
Getting python3-saml up and running on Heroku will require some extra legwork: python3-saml depends on python-xmlsec which depends on headers from the xmlsec1-dev linux package to install correctly.
1042
1042
1043
-
First you will need to add the xmlsec buildpack to your build server:
1043
+
First you will need to add the ```apt``` buildpack to your build server:
1044
1044
1045
1045
```
1046
-
heroku buildpacks:set --index=1 -a your-app https://github.com/ABASystems/heroku-buildpack-xmlsec
1047
-
heroku buildpacks:set --index=2 -a your-app https://github.com/heroku/heroku-buildpack-python
1046
+
heroku buildpacks:set --index=1 -a your-app https://github.com/ABASystems/heroku-buildpack-apt
1047
+
heroku buildpacks:set --index=2 -a your-app https://github.com/ABASystems/heroku-buildpack-python
1048
1048
```
1049
1049
1050
-
You can confirm the buildpacks have been added in the correct order with ```heroku buildpacks -a your-app```, you should see the xmlsec buildpack first followed by the python buildpack.
1050
+
You can confirm the buildpacks have been added in the correct order with ```heroku buildpacks -a your-app```, you should see the apt buildpack first followed by the python buildpack.
1051
1051
1052
-
Then simply add python3-saml to your requrements.txt and ```git push``` to trigger a build.
1052
+
Then add an ```Aptfile``` into the root of your repository containing the ```libxmlsec1-dev``` package, the file should look like:
1053
+
```
1054
+
libxmlsec1-dev
1055
+
1056
+
```
1057
+
1058
+
Finally, add python3-saml to your requrements.txt and ```git push``` to trigger a build.
0 commit comments