mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 01:35:56 +01:00
Fix indiekit config
This commit is contained in:
parent
f60d372d5a
commit
0aeebcb4e8
4 changed files with 105 additions and 107 deletions
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
date: "2011-07-06T06:44:40Z"
|
||||
tags:
|
||||
- imported
|
||||
- from-twitter
|
||||
- WordsIWontLetMyIndianColleaguesUseMoreThanMeCosTheyreAwesome
|
||||
---
|
||||
Bifurcate [WordsIWontLetMyIndianColleaguesUseMoreThanMeCosTheyreAwesome](/tags/WordsIWontLetMyIndianColleaguesUseMoreThanMeCosTheyreAwesome)
|
|
@ -1,98 +0,0 @@
|
|||
export default {
|
||||
"application": {
|
||||
"mongodbUrl": process.env.MONGO_URL,
|
||||
},
|
||||
"plugins": [
|
||||
"indiekit-preset-byjp",
|
||||
"@indiekit/store-github",
|
||||
"@indiekit/syndicator-mastodon",
|
||||
"@indiekit/endpoint-files",
|
||||
"@indiekit/endpoint-image",
|
||||
"@indiekit/endpoint-micropub",
|
||||
"@indiekit/endpoint-posts",
|
||||
"@indiekit/endpoint-share",
|
||||
"@indiekit/post-type-bookmark",
|
||||
"@indiekit/post-type-event",
|
||||
"@indiekit/post-type-like",
|
||||
"@indiekit/post-type-note",
|
||||
"@indiekit/post-type-photo",
|
||||
"@indiekit/post-type-jam",
|
||||
"@indiekit/post-type-reply"
|
||||
],
|
||||
"publication": {
|
||||
"me": process.env.SITE,
|
||||
"enrichPostData": true,
|
||||
"postTypes": {
|
||||
"event": {
|
||||
"name": "Event",
|
||||
"post": {
|
||||
"path": "content/calendar/{yyyy}-{MM}-{dd}/{slug}/index.md",
|
||||
"url": "calendar/{yyyy}-{MM}-{dd}/{slug}"
|
||||
}
|
||||
},
|
||||
"like": {
|
||||
"name": "Like",
|
||||
"post": {
|
||||
"path": "content/likes/{yyyy}-{MM}-{dd}/{slug}/index.md",
|
||||
"url": "likes/{yyyy}-{MM}-{dd}/{slug}/"
|
||||
}
|
||||
},
|
||||
"note": {
|
||||
"name": "Note",
|
||||
"post": {
|
||||
"path": "content/notes/{yyyy}-{MM}-{dd}/{slug}/index.md",
|
||||
"url": "notes/{yyyy}-{MM}-{dd}/{slug}/"
|
||||
}
|
||||
},
|
||||
"reply": {
|
||||
"name": "Reply",
|
||||
"post": {
|
||||
"path": "content/notes/{yyyy}-{MM}-{dd}/{slug}/index.md",
|
||||
"url": "notes/{yyyy}-{MM}-{dd}/{slug}/"
|
||||
}
|
||||
},
|
||||
"photo": {
|
||||
"name": "Photo",
|
||||
"post": {
|
||||
"path": "content/photos/{yyyy}-{MM}-{dd}/{slug}/index.md",
|
||||
"url": "photos/{yyyy}-{MM}-{dd}/{slug}/"
|
||||
},
|
||||
"media": {
|
||||
"path": "content/photos/{yyyy}-{MM}-{dd}/{slug}/{filename}"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"indiekit-preset-byjp": {},
|
||||
"@indiekit/store-github": {
|
||||
"user": "by-jp",
|
||||
"repo": "www.byjp.me",
|
||||
"branch": "main"
|
||||
},
|
||||
"@indiekit/syndicator-mastodon": {
|
||||
"url": "https://hachyderm.io",
|
||||
"user": "byjp"
|
||||
},
|
||||
"@indiekit/post-type-bookmark": {
|
||||
"name": "Bookmark"
|
||||
},
|
||||
"@indiekit/post-type-photo": {
|
||||
"name": "Photo"
|
||||
},
|
||||
"@indiekit/post-type-jam": {
|
||||
"name": "Jam"
|
||||
},
|
||||
"@indiekit/post-type-like": {
|
||||
"name": "Like"
|
||||
},
|
||||
"@indiekit/post-type-note": {
|
||||
"name": "Note"
|
||||
},
|
||||
"@indiekit/post-type-reply": {
|
||||
"name": "Reply"
|
||||
},
|
||||
"@indiekit/endpoint-micropub": {},
|
||||
"@indiekit/endpoint-share": {},
|
||||
"@indiekit/endpoint-files": {},
|
||||
"@indiekit/endpoint-posts": {}
|
||||
}
|
|
@ -4,7 +4,7 @@ module.exports = {
|
|||
apps : [
|
||||
{
|
||||
name: "indiekit",
|
||||
script: "npm run serve serve --port 8088",
|
||||
script: "npm run start",
|
||||
watch: false,
|
||||
env,
|
||||
}
|
||||
|
|
104
indiekit/indiekit.config.js
Normal file
104
indiekit/indiekit.config.js
Normal file
|
@ -0,0 +1,104 @@
|
|||
import dotenv from 'dotenv';
|
||||
const env = dotenv.config().parsed || {};
|
||||
|
||||
export default {
|
||||
application: {
|
||||
name: "IndieKit byJP",
|
||||
mongodbUrl: env.MONGO_URL,
|
||||
port: env.PORT ?? 8088,
|
||||
timeZone: 'Europe/London',
|
||||
},
|
||||
plugins: [
|
||||
"indiekit-preset-byjp",
|
||||
"@indiekit/store-github",
|
||||
"@indiekit/syndicator-mastodon",
|
||||
"@indiekit/endpoint-files",
|
||||
"@indiekit/endpoint-image",
|
||||
"@indiekit/endpoint-micropub",
|
||||
"@indiekit/endpoint-posts",
|
||||
"@indiekit/endpoint-share",
|
||||
"@indiekit/post-type-bookmark",
|
||||
"@indiekit/post-type-event",
|
||||
"@indiekit/post-type-like",
|
||||
"@indiekit/post-type-note",
|
||||
"@indiekit/post-type-photo",
|
||||
"@indiekit/post-type-jam",
|
||||
"@indiekit/post-type-reply"
|
||||
],
|
||||
publication: {
|
||||
me: env.SITE,
|
||||
enrichPostData: true,
|
||||
postTypes: {
|
||||
event: {
|
||||
name: "Event",
|
||||
post: {
|
||||
path: "content/calendar/{yyyy}-{MM}-{dd}/{slug}/index.md",
|
||||
url: "calendar/{yyyy}-{MM}-{dd}/{slug}"
|
||||
}
|
||||
},
|
||||
like: {
|
||||
name: "Like",
|
||||
post: {
|
||||
path: "content/likes/{yyyy}-{MM}-{dd}/{slug}/index.md",
|
||||
url: "likes/{yyyy}-{MM}-{dd}/{slug}/"
|
||||
}
|
||||
},
|
||||
note: {
|
||||
name: "Note",
|
||||
post: {
|
||||
path: "content/notes/{yyyy}-{MM}-{dd}/{slug}/index.md",
|
||||
url: "notes/{yyyy}-{MM}-{dd}/{slug}/"
|
||||
}
|
||||
},
|
||||
reply: {
|
||||
name: "Reply",
|
||||
post: {
|
||||
path: "content/notes/{yyyy}-{MM}-{dd}/{slug}/index.md",
|
||||
url: "notes/{yyyy}-{MM}-{dd}/{slug}/"
|
||||
}
|
||||
},
|
||||
photo: {
|
||||
name: "Photo",
|
||||
post: {
|
||||
path: "content/photos/{yyyy}-{MM}-{dd}/{slug}/index.md",
|
||||
url: "photos/{yyyy}-{MM}-{dd}/{slug}/"
|
||||
},
|
||||
media: {
|
||||
path: "content/photos/{yyyy}-{MM}-{dd}/{slug}/{filename}"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"indiekit-preset-byjp": {},
|
||||
"@indiekit/store-github": {
|
||||
user: "by-jp",
|
||||
repo: "www.byjp.me",
|
||||
branch: "main"
|
||||
},
|
||||
"@indiekit/syndicator-mastodon": {
|
||||
url: "https://hachyderm.io",
|
||||
user: "byjp"
|
||||
},
|
||||
"@indiekit/post-type-bookmark": {
|
||||
name: "Bookmark"
|
||||
},
|
||||
"@indiekit/post-type-photo": {
|
||||
name: "Photo"
|
||||
},
|
||||
"@indiekit/post-type-jam": {
|
||||
name: "Jam"
|
||||
},
|
||||
"@indiekit/post-type-like": {
|
||||
name: "Like"
|
||||
},
|
||||
"@indiekit/post-type-note": {
|
||||
name: "Note"
|
||||
},
|
||||
"@indiekit/post-type-reply": {
|
||||
name: "Reply"
|
||||
},
|
||||
"@indiekit/endpoint-micropub": {},
|
||||
"@indiekit/endpoint-share": {},
|
||||
"@indiekit/endpoint-files": {},
|
||||
"@indiekit/endpoint-posts": {}
|
||||
}
|
Loading…
Reference in a new issue