Compare commits
190 Commits
a314cd9e6e
...
ccm-svg-sp
| Author | SHA1 | Date | |
|---|---|---|---|
| 9d9fa13340 | |||
| 36953062d0 | |||
| 5a99a01eed | |||
| 09bee9627c | |||
| 96153b9a74 | |||
| 22ab464f5d | |||
| b54853559f | |||
| af8e222045 | |||
| 7f07c94c82 | |||
| 94df5140f8 | |||
| df6cf1f75c | |||
| 0d63f87e39 | |||
| 3bb5536820 | |||
| 340b30c8dc | |||
| 4f9db0a940 | |||
| c783394d01 | |||
| a13a03e031 | |||
| 3194245309 | |||
| 6074b36c99 | |||
| d278da060b | |||
| 418fd716b0 | |||
| c708dadde0 | |||
| 70f958606d | |||
| 424cb0f150 | |||
| d89909e7bf | |||
| 93937df1fd | |||
| 6d7214dd46 | |||
| 66a044cd2a | |||
| 52e7fd9f9b | |||
| fae1fd255f | |||
| 93157f17dd | |||
| 965ed86ed6 | |||
| 478c90e398 | |||
| 89cf20e35a | |||
| d2a8758fb8 | |||
| 8198fc7b63 | |||
| 0b6f7a55c0 | |||
| de0052aa0a | |||
| 6f580b2b77 | |||
| 5bb861c376 | |||
| ccc6dc1335 | |||
| 853728624a | |||
| 435eb0b128 | |||
| 7408005ed2 | |||
| aaff3571af | |||
| 176fd98cb5 | |||
| e1cfff39f0 | |||
| 55f6328d3f | |||
| b509ba12ea | |||
| 4b692194ae | |||
| 112c100057 | |||
| 20bcd976a8 | |||
| 2e17234daf | |||
| ac9684f4cf | |||
| c6ed409915 | |||
| 00f2243f03 | |||
| 616c8184d0 | |||
| d779f802a6 | |||
| 12d9d8ae95 | |||
| b68f63b379 | |||
| 0fad07d341 | |||
| f0ddd4e13a | |||
| bbb6cd2c07 | |||
| 965287bcf4 | |||
| e027291ec8 | |||
| ca9ceebd64 | |||
| 50a851eb2f | |||
| c250275b1d | |||
| c8d17b7d46 | |||
| 0e4da0fc67 | |||
| da2b1d9a6f | |||
| 4fd9688d53 | |||
| 69a0a1dcdd | |||
| c8b1d9c8f6 | |||
| ed83435218 | |||
| 3fa1e8f722 | |||
| da1bebe4f2 | |||
| b81f0a8565 | |||
| b9884ba077 | |||
| d17d0f0a08 | |||
| 625cae288c | |||
| 5c5c76f9a1 | |||
| e9a86c532e | |||
| 2c89910ee8 | |||
| 1de687b3f1 | |||
| d9ab0fa1fd | |||
| b3f6d79c01 | |||
| df2eb64ed5 | |||
| 2f2a82c46f | |||
| 607486d308 | |||
| d6dddc25db | |||
| a0f580da95 | |||
| f3db10ac68 | |||
| 406c5d1357 | |||
| 8db51f8870 | |||
| 607eaa187e | |||
| 0868c953a3 | |||
| d45575db7c | |||
| b9b744d10f | |||
| c4c0fdd86d | |||
| 65c4c69f21 | |||
| c4c8667d4f | |||
| 08c71c05e6 | |||
| 6723e5f5af | |||
| 109d1aa6fe | |||
| 2d72c7f83e | |||
| e1e2c479af | |||
| e8cc4e5241 | |||
| 4903812ca1 | |||
| 1ab48b58c3 | |||
| 38c01d27bf | |||
| 790c267957 | |||
| bb193630b9 | |||
| 46167340be | |||
| b836b1f92b | |||
| b8df14625c | |||
| c9b7c62365 | |||
| d75c8f1b0f | |||
| d13392fef6 | |||
| 722e8172ab | |||
| d732fe0bf1 | |||
| 63e9c45490 | |||
| be61acb030 | |||
| 803402beef | |||
| 1fd87f8351 | |||
| b6bc696823 | |||
| d65e5c2b34 | |||
| f7984595cc | |||
| 32c1d0e56d | |||
| d0369ca229 | |||
| 19a7a26f1b | |||
| 962e1e4094 | |||
| 1a7d6233d8 | |||
| 60ac7f137b | |||
| 5b594d369b | |||
| 5868ef2b24 | |||
| 2c2226d09f | |||
| 1c2f35c87b | |||
| a6fde9e567 | |||
| eb9c805786 | |||
| 8f963ab98c | |||
| 5089a30a3b | |||
| e7f098dedf | |||
| 273ed43a51 | |||
| f6974d43f4 | |||
| 95c45ac7c6 | |||
| 6d7669ac10 | |||
| 5d02620b55 | |||
| a8f9cce90e | |||
| 50a20982a4 | |||
| 1f782f75aa | |||
| f9a191048a | |||
| fc5a1155dd | |||
| f3a702cce0 | |||
| 598ecde00e | |||
| fcbae33d51 | |||
| 7b63f0524c | |||
| 5a5b4e9272 | |||
| 8705b5779d | |||
| 8b89673b6f | |||
| 29588b36d4 | |||
| 7ad55c07ae | |||
| c3bd622841 | |||
| 2b6fadab29 | |||
| 4a44a21395 | |||
| 660bfba1b9 | |||
| 0282a0b721 | |||
| a0c804823c | |||
| 235ea57e81 | |||
| 9e8987fcc0 | |||
| 0b841d8873 | |||
| 9730ff85fb | |||
| bf807f9e29 | |||
| 264cb1dc81 | |||
| 5b3710ac4a | |||
| 138a2122e0 | |||
| b1fd38196e | |||
| 60836c9028 | |||
| 43f5fccebf | |||
| c33c9ec4bc | |||
| b358c2c0c5 | |||
| 58952cfa88 | |||
| d4e1bf5b9e | |||
| 6418c10415 | |||
| d2163d060b | |||
| 1baf76d901 | |||
| 88241ad705 | |||
| 37f683e9a5 | |||
| b735a6e124 | |||
| 5c74ee4cbe |
@@ -9,7 +9,7 @@ ARG RESTY_DEB_VERSION="=1.27.1.2-1~bookworm1"
|
|||||||
ARG RESTY_LUAROCKS_VERSION="3.12.2"
|
ARG RESTY_LUAROCKS_VERSION="3.12.2"
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
python3-pygments lua-inotify wget curl tar make && \
|
python3-pygments lua-inotify wget && \
|
||||||
wget -q -O $pkgname $pkgurl && dpkg -i $pkgname && rm $pkgname
|
wget -q -O $pkgname $pkgurl && dpkg -i $pkgname && rm $pkgname
|
||||||
|
|
||||||
RUN wget -qO - https://openresty.org/package/pubkey.gpg | gpg --dearmor > /etc/apt/trusted.gpg.d/openresty-keyring.gpg \
|
RUN wget -qO - https://openresty.org/package/pubkey.gpg | gpg --dearmor > /etc/apt/trusted.gpg.d/openresty-keyring.gpg \
|
||||||
|
|||||||
50
README.md
50
README.md
@@ -1,23 +1,26 @@
|
|||||||
## requirements
|
## requirements
|
||||||
|
|
||||||
`pandoc` utility must be installed
|
* Docker
|
||||||
|
|
||||||
- Debian Bookworm:
|
## up and running
|
||||||
|
|
||||||
$ apt-get update && apt-get install -y pandoc
|
### build container image
|
||||||
|
|
||||||
## start default openresty
|
|
||||||
|
|
||||||
1. Run `docker run --rm -it --init -w /opt -v $PWD:/opt -p 80:80 openresty/openresty:1.27.1.2-0-bookworm-buildpack`
|
|
||||||
2. Visit `localhost` in web browser.
|
|
||||||
|
|
||||||
## start a custom site
|
|
||||||
|
|
||||||
### build docker image
|
|
||||||
|
|
||||||
$ make image-build
|
$ make image-build
|
||||||
|
|
||||||
### rebuild an existing docker image
|
### build site
|
||||||
|
|
||||||
|
$ make build
|
||||||
|
|
||||||
|
### start dev server
|
||||||
|
|
||||||
|
$ make serve
|
||||||
|
|
||||||
|
Visit `localhost:8080` in web browser
|
||||||
|
|
||||||
|
## getting around
|
||||||
|
|
||||||
|
### rebuild the container image
|
||||||
|
|
||||||
$ make image-rm image-build
|
$ make image-rm image-build
|
||||||
|
|
||||||
@@ -27,9 +30,11 @@
|
|||||||
|
|
||||||
### add an index page
|
### add an index page
|
||||||
|
|
||||||
|
#### create the file
|
||||||
|
|
||||||
$ docker run --rm -w /opt/app -v $PWD:/opt/app miti.sh sitegen page /opt/app index
|
$ docker run --rm -w /opt/app -v $PWD:/opt/app miti.sh sitegen page /opt/app index
|
||||||
|
|
||||||
### add to `site.moon`
|
#### add to `site.moon`
|
||||||
|
|
||||||
add "index.md"
|
add "index.md"
|
||||||
|
|
||||||
@@ -52,20 +57,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
### build site
|
|
||||||
|
|
||||||
$ make build
|
|
||||||
|
|
||||||
### build a single file
|
### build a single file
|
||||||
|
|
||||||
$ make build file=index.html
|
$ make build file=index.html
|
||||||
|
|
||||||
### start dev server
|
|
||||||
|
|
||||||
$ make serve
|
|
||||||
|
|
||||||
Visit `localhost:8080` in web browser
|
|
||||||
|
|
||||||
### start a shell
|
### start a shell
|
||||||
|
|
||||||
$ make shell
|
$ make shell
|
||||||
@@ -124,3 +119,10 @@ Delete your `.sitegen_cache` file.
|
|||||||
* use sitecache with pandoc renderer
|
* use sitecache with pandoc renderer
|
||||||
* draft documents
|
* draft documents
|
||||||
* treesitter highlighting for moonscript
|
* treesitter highlighting for moonscript
|
||||||
|
|
||||||
|
## todo
|
||||||
|
|
||||||
|
* destroy a target ship by shooting them with the cannon
|
||||||
|
* make corners not bouncy (leave them bouncy for now?)
|
||||||
|
* wall entities
|
||||||
|
* ship-ship collision
|
||||||
|
|||||||
1627
html/images/space.svg
Normal file
1627
html/images/space.svg
Normal file
File diff suppressed because it is too large
Load Diff
|
After Width: | Height: | Size: 53 KiB |
Reference in New Issue
Block a user