Browse Source

add setup command

master
Cian Butler 1 year ago
parent
commit
32a73cb0df
Signed by: butlerx GPG Key ID: B37CA765BAA89170
3 changed files with 7 additions and 1 deletions
  1. +1
    -1
      .gitmodules
  2. +5
    -0
      Makefile
  3. +1
    -0
      README.md

+ 1
- 1
.gitmodules View File

@@ -1,3 +1,3 @@
[submodule "themes/base16"]
path = themes/base16
url = git@github.com:butlerx/hugo-theme-base16.git
url = https://github.com/butlerx/hugo-theme-base16.git

+ 5
- 0
Makefile View File

@@ -1,5 +1,10 @@
.PHONY: build clean deploy update-theme

setup:
git submodule init
git submodule sync
git submodule update

clean:
rm -rf public resources



+ 1
- 0
README.md View File

@@ -6,6 +6,7 @@ We screw up sometimes but they're usually fun stories. Stories from Redbrick.

## Usage

- To install theme run `make setup`
- To Build the site run `hugo`
- To Preview the site locally run `hugo serve` and open `localhost:1313`
- To add a new post run `hugo new post/post-title` and then open


Loading…
Cancel
Save