forked from getkirby/plainkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
65 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
Title: Error | ||
Title: Error | ||
|
||
---- | ||
|
||
Uuid: pYmgvVdUCXfAnAm4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,58 @@ | ||
Title: Home | ||
Title: Home | ||
|
||
---- | ||
|
||
Text: | ||
|
||
# 🔥 Firekit for KirbyCMS | ||
|
||
This is my boilerplate for KirbyCMS based on plainkit with everything i need for creating websites. You can learn more about Kirby at getkirby.com. | ||
|
||
What is added: | ||
|
||
/assets folder with scripts.js and styles.css | ||
/partials for header and footer | ||
HTML Skeleton | ||
sticky footer css | ||
webfont css | ||
tachyons preloader | ||
|
||
## Create a new Project ➕ | ||
|
||
composer create-project mourique/firekit PROJECTNAME | ||
|
||
## Deployments 🔼 | ||
|
||
uses git-ftp | ||
use plain ftp with git ftp push -P | ||
this prompts for a password everytime | ||
or use with SSH keys setup (RSA, no ED!!) | ||
❗️this currently does not do composer install on livehost | ||
setup in .git/config | ||
|
||
## git-ftp configuration | ||
|
||
[git-ftp] | ||
user = USERNAME | ||
# for sftp/ssh (with keys) | ||
url = sftp://HOST:22/~/public_html/DOMAINNAME | ||
# for ftp (with passwort prompt) | ||
url = ftp://HOST:21/public_html/DOMAINNAME | ||
|
||
## Content Backups 🔒 | ||
|
||
uses cronjobs | ||
duplicates the /content folder every night and keeps the last 10 copies | ||
setup in /content_backup/content_backups.sh | ||
activate on livehost | ||
|
||
## Pull Content To Local ⏬ | ||
|
||
uses rsync | ||
setup in composer.json | ||
run composer run-scripts pull-content | ||
or dry-pull-content | ||
|
||
---- | ||
|
||
Uuid: ILZNs5GrWRT4XZKd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?= snippet('partials/header') ?> | ||
|
||
<main> | ||
<h1>Main: <?= $page->title() ?></h1> | ||
<?= $page->text()->kt() ?> | ||
</main> | ||
|
||
<?= snippet('partials/footer') ?> |