add makefile

This commit is contained in:
brooke 2024-06-10 19:03:33 -04:00
parent c56a9dd2ff
commit 30f4bdf116
3 changed files with 13 additions and 7 deletions

8
Makefile Normal file
View file

@ -0,0 +1,8 @@
.PHONY: setup dev
setup:
npm install
dev:
hugo server --disableFastRender & \
tailwindcss -i ./themes/gallo/src/input.css -o ./themes/gallo/static/css/tailwind.min.css --watch --minify

View file

@ -1,12 +1,10 @@
# gallowelds.com
0. Install dependancies this will install **tailwindcss**, **prettier**, and **prettier-plugin-go-template**
```
git clone https://git.myco.systems/mycosystems/gallowelds.com.git
make setup
```
1. Start hugo server and tailwindcss cli
```
git submodule update --init --recursive
```
For dependancies just run the below command, this will install **tailwindcss**, **prettier**, and **prettier-plugin-go-template**
```
npm install
make dev
```

File diff suppressed because one or more lines are too long