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

Commit 9a18a63

Browse files
author
Grant Kinney
committed
Update readme to be applicable to heroku, dokku, or flynn
1 parent c39a5a1 commit 9a18a63

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
# Piwik on Dokku
1+
# Piwik on Heroku, Dokku, or Flynn
22

33
## Installation
44

5-
1. Create a new app with dokku.
5+
1. Create a new app.
66
2. Connect a mysql database to the app.
7-
3. Add dokku config settings for the database connection: `DB_NAME`, `DB_HOST`, `DB_PORT` `DB_USERNAME`, and `DB_PASSWORD`.
8-
4. Add dokku config settings for `SALT` and `TRUSTED_HOST` (the domain name you access the piwik app from)
9-
5. Deploy repo to dokku
7+
3. Update database connection in `config.ini.php` as needed
8+
4. Add config settings for `SALT` and `TRUSTED_HOST` (the domain name you access the piwik app from)
9+
5. Deploy app
1010

1111
## Config
1212

13-
Dokku's filesystem is ephemeral and will be wiped out on each deploy. Any settings that piwik automatically updates in `vendor/piwik/piwik/config/config.ini.php` need to be manually duplicated in the `config.ini.php` in the repo, or they will be wiped out the next time the app is rebuilt.
13+
The filesystem is ephemeral and will be wiped out on each deploy. Any settings that piwik automatically updates in `vendor/piwik/piwik/config/config.ini.php` need to be manually duplicated in the `config.ini.php` in the repo, or they will be wiped out the next time the app is rebuilt.
1414

1515
## Plugins
1616

@@ -23,6 +23,6 @@ Most piwik plugins do not include a composer.json file so you'll need to use the
2323

2424
## GeoIP
2525

26-
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.git defined in `.buildpacks`.
26+
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.

0 commit comments

Comments
 (0)