This repository was archived by the owner on Jun 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 83
83
84
84
bareRepo : true # Exclude everything except themes and custom plugins in git
85
85
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!
87
87
# Manual changes to these plugins will be overwritten.
88
88
89
89
plugins :
@@ -205,9 +205,9 @@ to your git repo automatically.
205
205
### File templates
206
206
207
207
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 ` .
209
209
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.
211
211
212
212
## ToDo
213
213
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ if (file_exists(__DIR__.'/../../autoload.php')) {
8
8
require __DIR__ .'/vendor/autoload.php ' ;
9
9
}
10
10
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 ' );
12
12
$ app ->add (new \OFFLINE \Bootstrapper \October \Console \InitCommand );
13
13
$ app ->add (new \OFFLINE \Bootstrapper \October \Console \InstallCommand );
14
14
$ app ->run ();
Original file line number Diff line number Diff line change @@ -90,7 +90,12 @@ public function removeCurrentEnv()
90
90
*/
91
91
public function createEnvExample ()
92
92
{
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 );
94
99
95
100
return $ this ;
96
101
}
You can’t perform that action at this time.
0 commit comments