feat: add readme, makefile and more
This commit is contained in:
parent
063dbaafe1
commit
252a0310fd
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1,3 @@
|
|||||||
/public
|
/public
|
||||||
|
/resources
|
||||||
|
/.hugo_build.lock
|
||||||
|
21
LICENSE
Normal file
21
LICENSE
Normal 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
28
Makefile
Normal 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)
|
21
README.md
21
README.md
@ -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
|
||||||
|
```
|
Loading…
x
Reference in New Issue
Block a user