My ham website
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.

29 lines
895 B

6 years ago
6 years ago
  1. # How does this work
  2. _This file is intended to help you remember the thing you made way back then..._
  3. ## Instructions
  4. 1. Create your html file and put it in `/posts`
  5. 2. Then create the meta file for it of the same name but using the ext `.json`. This file should look like:
  6. {
  7. "title": "Something Decent - Levi Olson",
  8. "permalink": "/posts/something-decent",
  9. "created_at": "2018-04-27T17:05:19-06:00",
  10. "created_at_short": "2018-04-27",
  11. "post_title": "the start of something... decent",
  12. "active": "posts",
  13. "content_file": "something-decent.html",
  14. "categories" : ["misc", "programming", "js", "etc..."]
  15. }
  16. 3. Commit, Push and Pull.
  17. ## Pull from Digital Ocean
  18. 1. `ssh root@45.55.44.195`
  19. 2. `cd /home/forge/leviolson-website`
  20. 3. `git pull && npm i`
  21. 4. `pm2 restart LeviOlson.com`