This commit is contained in:
Zsolt Ero
2024-02-23 03:12:52 +01:00
parent 7dea397c29
commit 05a2dded9a
3 changed files with 46 additions and 5 deletions

33
docs/dev_setup.md Normal file
View File

@@ -0,0 +1,33 @@
# dev setup
### macOS
On macOS, I recommend [OrbStack](https://orbstack.dev/).
I saved this function into my bash_profile. It sets up a clean x64-based Ubuntu 22 VM in a few seconds.
```
orb_reset() {
orbctl delete -f ubuntu-test
orbctl create -a amd64 ubuntu:jammy ubuntu-test
}
```
I saved the following in `.ssh/config`:
```
Host orb_my
Hostname 127.0.0.1
Port 32222
IdentityFile ~/.orbstack/ssh/id_ed25519
```
Then I run commands like the following:
```
./init-server.py http-host-once orb_my
./init-server.py debug orb_my
```