Skip to content

Commit

Permalink
Merge pull request #53 from acelaya-forks/feature/remove-geolite-down…
Browse files Browse the repository at this point in the history
…load

Feature/remove geolite download
  • Loading branch information
acelaya authored Jan 5, 2020
2 parents e5463ad + 6b11ede commit 3a936ba
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 14 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com), and this
#### Removed

* [#43](https://github.com/shlinkio/shlink-installer/issues/43) Dropped support for PHP 7.2 and 7.3
* [#52](https://github.com/shlinkio/shlink-installer/issues/52) GeoLite2 db is no longer downloaded during installation.

#### Fixed

Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,6 @@ return [
'orm_proxies' => [
'command' => '-v', // Just print PHP version
],
'geolite_download' => [
'command' => '-v', // Just print PHP version
],
],
],

Expand Down
3 changes: 0 additions & 3 deletions config/config.local.php.dist
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ return [
'orm_proxies' => [
'command' => '-v', // Just print PHP version
],
'geolite_download' => [
'command' => '-v', // Just print PHP version
],
],
],

Expand Down
5 changes: 0 additions & 5 deletions config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,6 @@
'initMessage' => 'Generating proxies...',
'errorMessage' => 'Error generating proxies.',
],
'geolite_download' => [
'command' => 'bin/cli visit:update-db',
'initMessage' => 'Downloading GeoLite2 db...',
'errorMessage' => 'Error downloading GeoLite2 db.',
],
],
],

Expand Down
1 change: 0 additions & 1 deletion src/Command/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ class InstallCommand extends Command
'db_create_schema',
'db_migrate',
'orm_proxies',
'geolite_download',
];
private const SQLITE_DB_PATH = 'data/database.sqlite';

Expand Down
4 changes: 2 additions & 2 deletions test/Command/InstallCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ public function commandRunnerIsInvokedTheProperAmountOfTimes(bool $isUpdate, int

public function provideAmounts(): iterable
{
yield [false, 4];
yield [true, 3];
yield [false, 3];
yield [true, 2];
}

private function setIsUpdate(bool $isUpdate = true): void
Expand Down

0 comments on commit 3a936ba

Please sign in to comment.