1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-10 19:20:13 +00:00

Docker stuff

This commit is contained in:
Ethan Roseman 2020-04-22 19:36:35 -04:00
parent 60b02ccac1
commit b6b50d6638
3 changed files with 34 additions and 0 deletions

18
README-OSX.md Normal file
View file

@ -0,0 +1,18 @@
To work on the project on OSX:
Requirements:
Docker Desktop (for OSX)
docker-sync (`gem install docker-sync`)
From the root directory of the repo, first build the image and tag it 'oot':
`docker build . -t oot`
Then, start docker-sync:
docker-sync-stack start
After a lot of waiting, you'll see something like "Attaching to oot_oot_1". This means you're good to go. Ctrl+c on this tab to close the container and docker-sync.
Open a new tab and log into the container. To get the container id, use 'docker container ls' and grab the ID from the container with image oot:latest
docker exec-it <CONTAINER-ID> /bin/bash
Run `make setup` followed by `make`, and you're off to the races!

11
docker-compose.yml Normal file
View file

@ -0,0 +1,11 @@
version: "3"
services:
oot:
volumes:
- oot-sync:/oot:nocopy
image: "oot:latest"
tty: true
volumes:
oot-sync:
external: true

5
docker-sync.yml Normal file
View file

@ -0,0 +1,5 @@
version: "2"
syncs:
oot-sync:
src: '.'