mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
readme
This commit is contained in:
33
docs/dev_setup.md
Normal file
33
docs/dev_setup.md
Normal 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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user