Skip to content
This repository was archived by the owner on Jun 28, 2025. It is now read-only.

Commit ed2744e

Browse files
Merge branch 'develop'
2 parents 4863fb0 + f865df4 commit ed2744e

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ git:
8383

8484
bareRepo: true # Exclude everything except themes and custom plugins in git
8585
excludePlugins: false # Even exclude plugins from your repo. Private plugins will be
86-
# checkout out again during each "install" run. Be careful!
86+
# checked out again during each "install" run. Be careful!
8787
# Manual changes to these plugins will be overwritten.
8888

8989
plugins:
@@ -205,9 +205,9 @@ to your git repo automatically.
205205
### File templates
206206

207207
You can overwrite all default file templates by creating a folder called `october` in your global composer directory.
208-
Usually it is located under `~/.composer/`.
208+
Usually it is located under `~/.config/composer`.
209209

210-
Place the files you want to use as defaults in `~/.composer/october`. All files from the `templates` directory can be overwritten.
210+
Place the files you want to use as defaults in `~/.config/composer/october`. All files from the `templates` directory can be overwritten.
211211

212212
## ToDo
213213

october

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if (file_exists(__DIR__.'/../../autoload.php')) {
88
require __DIR__.'/vendor/autoload.php';
99
}
1010

11-
$app = new Symfony\Component\Console\Application('October CMS Bootstrapper', '0.2.25');
11+
$app = new Symfony\Component\Console\Application('October CMS Bootstrapper', '0.2.26');
1212
$app->add(new \OFFLINE\Bootstrapper\October\Console\InitCommand);
1313
$app->add(new \OFFLINE\Bootstrapper\October\Console\InstallCommand);
1414
$app->run();

src/Config/Writer.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,12 @@ public function removeCurrentEnv()
9090
*/
9191
public function createEnvExample()
9292
{
93-
copy($this->env, $this->env . '.example');
93+
$file = $this->env . '.example';
94+
95+
copy($this->env, $file);
96+
97+
$this->replaceLine('DB_USERNAME', 'DB_USERNAME=', $file);
98+
$this->replaceLine('DB_PASSWORD', 'DB_PASSWORD=', $file);
9499

95100
return $this;
96101
}

0 commit comments

Comments
 (0)