Levi Olson c1ebf3a46b | 4 years ago | |
---|---|---|
posts | 4 years ago | |
public/images | 6 years ago | |
test | 6 years ago | |
views | 4 years ago | |
.gitignore | 6 years ago | |
.gitlab-ci.yml | 4 years ago | |
LICENSE | 6 years ago | |
README.md | 5 years ago | |
app.js | 5 years ago | |
core.css | 4 years ago | |
package-lock.json | 6 years ago | |
package.json | 6 years ago |
This file is intended to help you remember the thing you made way back then...
Create your html file and put it in /posts
Then create the meta file for it of the same name but using the ext .json
. This file should look like:
{
"title": "Something Decent - Levi Olson",
"permalink": "/posts/something-decent",
"created_at": "2018-04-27T17:05:19-06:00",
"created_at_short": "2018-04-27",
"post_title": "the start of something... decent",
"active": "posts",
"content_file": "something-decent.html",
"categories" : ["misc", "programming", "js", "etc..."]
}
Commit, Push and Pull.
ssh root@206.189.236.142
cd /opt/apps/leviolson.com
git pull && npm i
pm2 restart LeviOlson.com
pm2 logs LeviOlson.com