Skip to content

Commit c9097f4

Browse files
committed
refactor!: refactored repo structure
1 parent 4d15b1d commit c9097f4

16 files changed

Lines changed: 12 additions & 149 deletions

File tree

.gitignore

Lines changed: 10 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,11 @@ _dev
99
# Ignore some app config files
1010
/application/config/.environment
1111
/application/config/.options.cache.php
12-
/application/config/base_controller.php
13-
/application/config/*/base_controller.php
14-
/application/config/config.php
15-
/application/config/database.php
16-
/application/config/*/database.php
17-
/application/config/language.php
18-
/application/config/*/language.php
19-
/application/config/trusted_hosts.php
20-
/application/config/*/trusted_hosts.php
12+
/application/config/**/base_controller.php
13+
/application/config/**/config.php
14+
/application/config/**/database.php
15+
/application/config/**/language.php
16+
/application/config/**/trusted_hosts.php
2117

2218
# Ignore all modules installed in app directory
2319
# See: ianhubnet/csk-packages/tree/main/packages/modules
@@ -34,37 +30,9 @@ _dev
3430
!/application/storage/dist/
3531
!/application/storage/data/
3632

37-
#=== CONTENT=== #
38-
39-
# Ignore all cache files
40-
/content/cache/*
41-
!/content/cache/
42-
43-
# Ignore all common assets
44-
# See: ianhubnet/csk-common
45-
/content/common/*
46-
47-
# Ignore all modules installed in public directory
48-
# See: ianhubnet/csk-packages/tree/main/packages/modules
49-
/content/modules/*
50-
!/content/modules/
51-
52-
# Ignore all plugins installed in public directory
53-
# See: ianhubnet/csk-packages/tree/main/packages/plugins
54-
/content/plugins/*
55-
!/content/plugins/
56-
57-
# Ignore all themes
58-
# See: ianhubnet/csk-packages/tree/main/packages/themes
59-
/content/themes/*
60-
61-
# Ignore all uploaded files
62-
/content/uploads/*
63-
!/content/uploads/
64-
65-
# Ignore `skeleton`, CSK core folder (may vary)
66-
# See: ianhubnet/csk-core
67-
/skeleton/*
33+
#=== PUBLIC FOLDER ===#
34+
# Keep everything in public/
35+
!/public/**
6836

6937
# Ignore dependency directory
7038
/vendor/
@@ -103,3 +71,5 @@ _dev
10371
!**/.htaccess
10472
!**/.gitkeep
10573
!**/index.html
74+
!LICENSE.md
75+
!README.md

.gitmodules

Lines changed: 0 additions & 9 deletions
This file was deleted.

application/bootstrap.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
| Used to track app status and possibly check for updates.
99
|
1010
*/
11-
const APP_VERSION = '0.1.2';
12-
const APP_REPO = 'ianhubnet/csk-app-default';
11+
const APP_VERSION = '0.0.1';
12+
const APP_REPO = 'https://github.com/ianhubnet/csk-app-default';
1313

1414
/*
1515
|--------------------------------------------------------------------------

content/.htaccess

Lines changed: 0 additions & 89 deletions
This file was deleted.

content/cache/index.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

content/common

Lines changed: 0 additions & 1 deletion
This file was deleted.

content/index.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

content/modules/index.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

content/plugins/index.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

content/themes/classic

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)