My personal website https://leviolson.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Levi Olson e4c4e94fb1 Export MD files to HTML with npm run export; Serving coverage/index.html on dev env; 5 years ago
.bin Export MD files to HTML with npm run export; Serving coverage/index.html on dev env; 5 years ago
posts Export MD files to HTML with npm run export; Serving coverage/index.html on dev env; 5 years ago
public/images static images; updated basic http article 6 years ago
test tests 6 years ago
views Disqus 6 years ago
.gitignore removing coverage dir 6 years ago
.gitlab-ci.yml Update ci 6 years ago
LICENSE Initial commit 6 years ago
README.md Export MD files to HTML with npm run export; Serving coverage/index.html on dev env; 5 years ago
app.js Export MD files to HTML with npm run export; Serving coverage/index.html on dev env; 5 years ago
core.css Disqus 6 years ago
package-lock.json Export MD files to HTML with npm run export; Serving coverage/index.html on dev env; 5 years ago
package.json Export MD files to HTML with npm run export; Serving coverage/index.html on dev env; 5 years ago

README.md

pipeline status coverage report License: Unlicense status stable

How does this work

This file is intended to help you remember the thing you made way back then...

Instructions

  1. Create your Markdown file and put it in /posts

  2. 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..."]
     }
    
  3. To create the HTML file run:

     npm run export
    
  4. Test, Commit, and Push.

Pull from Digital Ocean

  1. SSH into server ssh root@206.189.236.142
  2. Enter correct dir cd /opt/apps/leviolson.com
  3. Pull in changes git pull && npm i
  4. Restart the service pm2 restart LeviOlson.com
  5. Verify it restarted correctly pm2 logs LeviOlson.com