-
-
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
5 changed files
with
44 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
.env*.local | ||
build/ | ||
db/*.sqlite | ||
log/* | ||
node_modules/ | ||
public/ | ||
!public/*.html | ||
node_modules/ | ||
db/*.sqlite | ||
spec/examples.txt |
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
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# frozen_string_literal: true | ||
|
||
require "hanami/boot" | ||
|
||
Parklife.application.configure do |config| | ||
config.app = Site::App | ||
end | ||
|
||
Parklife.application.routes do | ||
root crawl: true | ||
|
||
# Add further paths not discovered by crawling from the root: | ||
# | ||
# get '/hidden/pages', crawl: true | ||
# get '/feed.atom' | ||
|
||
# Services typically allow a custom 404 page. | ||
# get '/404.html' | ||
end |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -eu | ||
|
||
# Build with Parklife - and forward arguments sent to this script. | ||
bundle exec parklife build "$@" | ||
|
||
# Copy all public resources to ./build. | ||
if [ -d public ]; then | ||
cp -R public/* build | ||
fi | ||
|
||
# List all files in the build (useful for debugging). | ||
find build -type f | sort |