odin

command module
v0.0.0-...-64699cf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

README

odin

Odin is static blog engine written with golang. Odin uses github pages to deploy your blog.

Requirements:
  • support Unix (linux, MacOs , ....)
Installation

go get github.com/coci/odin

Usage :

1- first you need initialize odin :

odin init

2- you need configure odin :

odin config

3- you need make post:

odin new "how to work with odin"

this command will generate post template for you in :

path-to-blog-dir/content

4- you need to build your blog :

odin build

5- you have to push your blog :

odin push

Consideration:

note : you need to run step 1 and 2 for once in lifetime.

note : you need to write your blog post in markdown format.

note : you can find post template ( file that you have to write your blog) in 'content' directory in root of blog.

note : everytime you change existing post or add new post you have to build and push again( step 4 and 5).

note : change CNAME file in root of project with your domain.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL