Skip to content

Commit efa571c

Browse files
committed
First commit
1 parent 841bd40 commit efa571c

22 files changed

Lines changed: 200 additions & 97 deletions

File tree

.gitignore

Lines changed: 4 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -1,104 +1,11 @@
1+
# System files
2+
Icon
3+
.DS_Store
4+
15
# Logs
26
logs
37
*.log
48
npm-debug.log*
5-
yarn-debug.log*
6-
yarn-error.log*
7-
lerna-debug.log*
8-
9-
# Diagnostic reports (https://nodejs.org/api/report.html)
10-
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
11-
12-
# Runtime data
13-
pids
14-
*.pid
15-
*.seed
16-
*.pid.lock
17-
18-
# Directory for instrumented libs generated by jscoverage/JSCover
19-
lib-cov
20-
21-
# Coverage directory used by tools like istanbul
22-
coverage
23-
*.lcov
24-
25-
# nyc test coverage
26-
.nyc_output
27-
28-
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
29-
.grunt
30-
31-
# Bower dependency directory (https://bower.io/)
32-
bower_components
33-
34-
# node-waf configuration
35-
.lock-wscript
36-
37-
# Compiled binary addons (https://nodejs.org/api/addons.html)
38-
build/Release
399

4010
# Dependency directories
4111
node_modules/
42-
jspm_packages/
43-
44-
# TypeScript v1 declaration files
45-
typings/
46-
47-
# TypeScript cache
48-
*.tsbuildinfo
49-
50-
# Optional npm cache directory
51-
.npm
52-
53-
# Optional eslint cache
54-
.eslintcache
55-
56-
# Microbundle cache
57-
.rpt2_cache/
58-
.rts2_cache_cjs/
59-
.rts2_cache_es/
60-
.rts2_cache_umd/
61-
62-
# Optional REPL history
63-
.node_repl_history
64-
65-
# Output of 'npm pack'
66-
*.tgz
67-
68-
# Yarn Integrity file
69-
.yarn-integrity
70-
71-
# dotenv environment variables file
72-
.env
73-
.env.test
74-
75-
# parcel-bundler cache (https://parceljs.org/)
76-
.cache
77-
78-
# Next.js build output
79-
.next
80-
81-
# Nuxt.js build / generate output
82-
.nuxt
83-
dist
84-
85-
# Gatsby files
86-
.cache/
87-
# Comment in the public line in if your project uses Gatsby and *not* Next.js
88-
# https://nextjs.org/blog/next-9-1#public-directory-support
89-
# public
90-
91-
# vuepress build output
92-
.vuepress/dist
93-
94-
# Serverless directories
95-
.serverless/
96-
97-
# FuseBox cache
98-
.fusebox/
99-
100-
# DynamoDB Local files
101-
.dynamodb/
102-
103-
# TernJS port file
104-
.tern-port

htdocs/.gitignore

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# You might wanna uncomment this
2+
# /content
3+
4+
# Kirby source
5+
/kirby/
6+
/vendor/
7+
8+
9+
10+
11+
# System files
12+
# ------------
13+
14+
Icon
15+
.DS_Store
16+
17+
# Temporary files
18+
# ---------------
19+
20+
/public/media/*
21+
!/public/media/index.html
22+
23+
# Lock files
24+
# ---------------
25+
.lock
26+
27+
# -------------SECURITY-------------
28+
# NEVER publish these files via Git!
29+
# -------------SECURITY-------------
30+
31+
# Cache Files
32+
# ---------------
33+
34+
/storage/cache/*
35+
!/storage/cache/index.html
36+
37+
# Accounts
38+
# ---------------
39+
40+
/storage/accounts/*
41+
!/storage/accounts/index.html
42+
43+
# Sessions
44+
# ---------------
45+
46+
/storage/sessions/*
47+
!/storage/sessions/index.html
48+
49+
# License
50+
# ---------------
51+
/storage/config/.license

htdocs/composer.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"name": "getkirby/plainkit",
3+
"description": "Kirby Plainkit",
4+
"type": "project",
5+
"keywords": ["kirby", "cms", "starterkit"],
6+
"homepage": "https://getkirby.com",
7+
"authors": [
8+
{
9+
"name": "Bastian Allgeier",
10+
"email": "bastian@getkirby.com",
11+
"homepage": "https://getkirby.com"
12+
}
13+
],
14+
"support": {
15+
"email": "support@getkirby.com",
16+
"issues": "https://github.com/getkirby/starterkit/issues",
17+
"forum": "https://forum.getkirby.com",
18+
"source": "https://github.com/getkirby/starterkit"
19+
},
20+
"require": {
21+
"php": ">=7.1.0",
22+
"getkirby/cms": "^3.0"
23+
},
24+
"config": {
25+
"optimize-autoloader": true
26+
}
27+
}

htdocs/content/error/error.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Title: Error

htdocs/content/home/home.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Title: Home

htdocs/content/site.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Title: Site Title

htdocs/public/index.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?php
2+
3+
include '../vendor/autoload.php';
4+
5+
$base = dirname(__DIR__);
6+
$storage = $base . '/storage';
7+
8+
$kirby = new Kirby([
9+
'roots' => [
10+
'index' => __DIR__,
11+
'base' => $base,
12+
'content' => $base . '/content',
13+
'site' => $base . '/site',
14+
'assets' => $base . '/public/assets',
15+
'media' => $base . '/public/media',
16+
'storage' => $storage,
17+
'config' => $storage . '/config',
18+
'accounts' => $storage . '/accounts',
19+
'cache' => $storage . '/cache',
20+
'sessions' => $storage . '/sessions'
21+
]
22+
]);
23+
24+
echo $kirby->render();

htdocs/public/media/index.html

Whitespace-only changes.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
title: Default Page
2+
preset: page
3+
fields:
4+
text:
5+
label: Text
6+
type: textarea
7+
size: large
8+

htdocs/site/blueprints/site.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
title: Site
2+
preset: pages
3+
unlisted: true

0 commit comments

Comments
 (0)