Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docker support and all disks from website #91

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

brainrecall
Copy link

Hi! First off, I wanted to thank you for this project. This is amazing work. I had some nostalgia for my schooldays with the Apple II, and your project gave me pretty much everything in one place. But I wanted to run my own instance of your work, and I've been on a container-kick for awhile and decided to take a stab at running apple2js in a docker container.

The files I created are very simple; I leverage the official node docker image for all of the complicated stuff. Despite everything looking simple, it was a lot of trial-and-error at figuring out the build system (as it seems the latest version of the containers have broken canvas support). This is not a all-in-one container, the website files are checked out on the host and are accessible outside the container. That allows easy modification to the website, like adding disks, without having to rebuild the entire container. It's not convenient, in the fact its not what's expected if this was pulled from docker hub, for example. I'm fairly new to docker (and totally unfamiliar with node), so there might be a better way to do this.

What I don't have in this pull request, though, is modifications to the readme. The build instructions are slightly different:

  1. Clone this repository onto your computer
  2. Install docker-compose
  3. In the root of this repository, run docker-compose build
  4. Run docker-compose up to start the web server

The user will want to modify the docker-compose.yml file with the correct hostname (I could not find a reliable way to disable webpack's hostname checks) and port number as needed.

Finally, I noticed the hosted version on your website had tons of disks that were not in this repo. I thought it might be best to include the full catalog of disks you have on the website in the repo, so its a complete representation of what you have. That also allows for a fully-contained container to be easily created in the future. If you want me to separate these from this PR let me know.

Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant