Skip to content

Commit 74d5dfb

Browse files
committed
Update with working instructions
1 parent 3f586d0 commit 74d5dfb

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1040,13 +1040,19 @@ This demo works very similar to the flask-demo (We did it intentionally).
10401040

10411041
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.
10421042

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:
10441044

10451045
```
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
10481048
```
10491049

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.
10511051

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

Comments
 (0)