feat: add readme, makefile and more

This commit is contained in:
Nemo D'ACREMONT 2025-10-18 16:40:04 +02:00
parent 063dbaafe1
commit 252a0310fd
Signed by: ndacremont
SSH Key Fingerprint: SHA256:rqH8LtCUxBPWiz9AshKD5EZfJhA4hU0WTTP3yE6GiLw
4 changed files with 72 additions and 0 deletions

2
.gitignore vendored
View File

@ -1 +1,3 @@
/public
/resources
/.hugo_build.lock

21
LICENSE Normal file
View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2025 Nemo D'ACREMONT
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

28
Makefile Normal file
View File

@ -0,0 +1,28 @@
docker=docker
# docker=podman # if you prefer using podman
hugo=$(docker) run -u $(shell id -u):$(shell id -g) --rm -p 127.0.0.1:1313:1313 -v .:/src hugomods/hugo
# hugo=hugo # if you have hugo installed
PHONY += all
all: build
PHONY += theme
theme: themes/nostyleplease/README.md
themes/nostyleplease/README.md:
git submodule update
PHONY += build
build: theme
$(hugo) build
PHONY += dev
dev: theme
$(hugo) server
PHONY += clean
clean:
rm -rf public
.PHONY: $(PHONY)

View File

@ -0,0 +1,21 @@
# My portfolio
Welcome to my portfolio source, it uses [hugo](https://gohugo.io/) to generate
the site, and it uses the [nostyleplease](https://github.com/hanwenguo/hugo-theme-nostyleplease) theme.
## Build
Build the site (it uses docker by default to use hugo, if you have hugo
installed, you can uncomment the hugo=hugo line in the Makefile) :
```sh
make build
```
## Dev mode
You can run hugo in dev mode using the following command :
```sh
make dev
```