Skip to content

hironow/dotfiles

Repository files navigation

dotfiles

bash -c "$(curl -L raw.githubusercontent.com/hironow/dotfiles/main/install.sh)"

Note

Mac, Linux, Windows(WSL内Linux)へ対応

usage

# make
make edit
make update-all
make dump

# uv on mise
mx uv sync

# make on mise
mx make

# mise env
mx dotenvx run -- mise set
# mise env with github credentials (use gh extension)
gh do -- mise set

# set env by dotenvx (encrypted)
mx dotenvx set HELLO World
# set env by mise (plain, unencrypted)
mx mise set WORLD=hello

setup

# check A record for localhost -> 127.0.0.1
dig localhost.hironow.dev

# create/update cert for https
sudo certbot certonly --manual --preferred-challenges dns -d localhost.hironow.dev --config-dir ${config_root}/private/certificates

# check simple-server for https localhost
cd tools/simple-server
sudo mise x -- go run main.go

references