a personal website
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
config
content
src
static
tasks
.gitignore
LICENSE
README.md
gatsby-browser.js
gatsby-config.js
gatsby-node.js
package-lock.json
package.json
yarn.lock

README.md

Website

The source code for my blog and personal website built using Gatsby. Visit at omardelarosa.com

The code is based on the following starter project: https://github.com/gatsbyjs/gatsby-starter-blog

CLI Usage

usage: cli.js [-h] [-v] [-c CREATE] [-t TAGS] [-d]

Post management cli

Optional arguments:
  -h, --help            Show this help message and exit.
  -v, --version         Show program's version number and exit.
  -c CREATE, --create CREATE
                        create post
  -t TAGS, --tags TAGS  attach tags
  -d, --debug           enabled debug mode

Examples

Creating a new post

bin/cli.js -c "My New Post Title"

Creating a post with tags

bin/cli.js -c "My New Post Title" -t tag1 -t tag2 -t tag3

Debuging Markdown Generation

bin/cli.js -c "My New Post Title" -t tag1 -t tag2 -t tag3 -d

Installation

npm install

Build

npm run build

Development

npm run develop

The dev site runs on http://localhost:8080 and its GraphQL server on the /____graphql route.

Deployment

Deployment is managed using netlify.

git push origin master