Unverified Commit 46f40eb2 authored by Martin Lowe's avatar Martin Lowe 🇨🇦 Committed by GitHub
Browse files

Add makefile for operations to simplify life (#229)

* Add makefile for operations to simplify life

* Add prototype windows makefile
parent a646dcb8
install:; npm ci
build: install; npm run build
run: build; hugo server -s exampleSite --themesDir=../..
clean:;
rm -rf node_modules
rm package-lock.json
release: clean;
npm install
npm run production
git add .
git commit -m "prepare new release" -s
\ No newline at end of file
install:; npm ci
build: install; npm run build
run: build; hugo server -s exampleSite --themesDir=../..
clean:;
rmdir node_modules
rm package-lock.json
release: clean;
npm install
npm run production
git add .
git commit -m "prepare new release" -s
\ No newline at end of file
......@@ -4,12 +4,22 @@
## Getting Started
Dependencies:
| Program | Version |
|---------|---------|
| node.js | ~ 12.22.0 |
| npm | ~ 7.11 |
| Hugo | > 0.76 |
| Git | > 2.31 |
| Make | > 4.3 |
Install dependencies, build assets and start a webserver:
```bash
npm install
npm run build
hugo server --source=exampleSite --themesDir="../../"
make run
```
### Getting Started (Windows)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment