Welcome to NelsonEnzo.com This is my very first post - and a reminder to my future self how easy this blog is to update.

To learn more about Hexo, the open source static-site generate that this is built on, check out documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Modify CSS Vars

1
vi themes/landscape/source/css/_variables.styl

Deploy to remote sites

1
2
3
4
5
6
7
8
## I host this site in an s3 bucket, so deploying is just a matter of
## 1) copying the files
$ aws s3 cp --recursive public/ s3://nelsonenzo.com/production/
## 2) expiring the cloudfront distribution.
aws cloudfront create-invalidation --distribution-id <distribution id> --paths /

## hexo has some other great integrations for deployment that look like this:
$ hexo deploy

More info: Deployment