1
0
mirror of https://github.com/zeldaret/oot.git synced 2024-09-21 12:54:51 +00:00
oot/README_OSX.md
Ethan Roseman f9bdb1d58a
Docker Support for OSX (#91)
* Makefile machinery work

* Updating Jenkinsfile

* Initial setup for OSX repo support

* Adding ido7 to repo

* Makefile reversion

* Iniital Dockerfile

* Docker stuff

* fixbaserom cleanup

* Attempting to fix fixbaserom

* baserom_original -> input

* Revert "baserom_original -> input"

This reverts commit d9199462b6.

* Spiffing up readme for OSX
2020-04-24 20:34:00 -04:00

904 B

Developing on OSX

Requirements

  • Docker Desktop (for OSX)
  • docker-sync (gem install docker-sync)
  • a set-up baserom (see general setup guide / wiki for more details)

Build the docker image

docker build . -t oot

Start docker-sync and the development container

docker-sync-stack start

After a lot of waiting, you'll see something like "Attaching to oot_oot_1". This means the container is ready.

Log into the container to begin working

Note: this will be done in another tab while you leave the docker-sync tab going.

To get the container id, use docker container ls and use the ID from the container with image oot:latest in the following command

docker exec-it <CONTAINER-ID> /bin/bash You're in.

Run make setup followed by make, and you're off to the races!

When done working

Type Ctrl+c on the docker-cync tab to close the container and docker-sync.