Skip to content
This repository was archived by the owner on Aug 3, 2022. It is now read-only.

Commit 75e1d65

Browse files
author
Grant Kinney
committed
Adds updated instructions for heroku buildpack configuration (#1)
1 parent d9dc3f5 commit 75e1d65

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,14 @@ Most piwik plugins do not include a composer.json file so you'll need to use the
2626
This setup is configured to use the [GeoIP2 Plugin](https://github.com/diabl0/piwik-geoip2). The GeoLite databases are provided by a custom buildpack https://github.com/danstiner/heroku-buildpack-geoip-geolite2 defined in `.buildpacks`.
2727

2828
You can turn on this geolocation method on in Settings > System > Geolocation. Rebuilding the app will get a fresh copy of the GeoLite databases.
29+
30+
## Heroku
31+
32+
Heroku no longer uses the `.buildpacks` file, so you will need to specify buildpacks using the heroku cli.
33+
34+
[Install the cli](https://devcenter.heroku.com/articles/heroku-cli) if needed, then run the following to specify the buildpacks for your app:
35+
36+
```
37+
heroku buildpacks:add --index 1 https://github.com/danstiner/heroku-buildpack-geoip-geolite2
38+
heroku buildpacks:add --index 2 heroku/php
39+
```

0 commit comments

Comments
 (0)