mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
34 lines
554 B
Markdown
34 lines
554 B
Markdown
# 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
|
|
```
|
|
|