Files
openfreemap/docs/dev_setup.md
Zsolt Ero 05a2dded9a readme
2024-02-23 03:12:52 +01:00

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
```