Skip to content

Commit b61ad22

Browse files
committed
#update-cms-tutorial update local config for sqlite defautls
1 parent e3a0ccc commit b61ad22

File tree

2 files changed

+2
-22
lines changed

2 files changed

+2
-22
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@ nbproject/* # NetBeans
3535
.idea
3636
config/Migrations/schema-dump-default.lock
3737
database
38+
cms-tutorial-database.sqlite

config/app_local.example.php

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -39,28 +39,7 @@
3939
*/
4040
'Datasources' => [
4141
'default' => [
42-
'host' => 'localhost',
43-
/*
44-
* CakePHP will use the default DB port based on the driver selected
45-
* MySQL on MAMP uses port 8889, MAMP users will want to uncomment
46-
* the following line and set the port accordingly
47-
*/
48-
//'port' => 'non_standard_port_number',
49-
50-
'username' => 'my_app',
51-
'password' => 'secret',
52-
53-
'database' => 'my_app',
54-
/*
55-
* If not using the default 'public' schema with the PostgreSQL driver
56-
* set it here.
57-
*/
58-
//'schema' => 'myapp',
59-
60-
/*
61-
* You can use a DSN string to set the entire configuration
62-
*/
63-
'url' => env('DATABASE_URL', null),
42+
'url' => env('DATABASE_URL', 'sqlite://127.0.0.1/cms-tutorial-database.sqlite'),
6443
],
6544

6645
/*

0 commit comments

Comments
 (0)