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 build instructions #6

Open
simonste opened this issue Apr 7, 2020 · 4 comments
Open

Add build instructions #6

simonste opened this issue Apr 7, 2020 · 4 comments

Comments

@simonste
Copy link

simonste commented Apr 7, 2020

Add build instructions to readme

@rayzeller
Copy link

rayzeller commented Apr 17, 2020

@tremby @jbowens how do you get this up and running? can't figure out how to get Elm to talk to the go server. never used go before, but here's what i've done:

elm-live src/Main.elm
go run cmd/greenapid/main.go

also, i've changed hardcoded Url's to github (dictionary, gameapi) to local relative routes

@tremby
Copy link
Contributor

tremby commented Apr 17, 2020 via email

@rayzeller
Copy link

Well once I get it up and running, I was planning on tinkering with the Decks. Adding a shuffle option so it's not randomized each game; you play with one deck until you run out or decide to shuffle, like the real thing.

@immae
Copy link

immae commented Apr 27, 2020

I’m sharing here a joint work with @he-rvb in case it would help.

This Dockerfile together with this nginx configuration is sufficient to successfully run a full server locally. It comes with a small patch to make it work smoothly, since the original code does not normally support running both the api and serving local files on the same "domain".

I may provide a PR if you’re interested.

docker.zip

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

No branches or pull requests

4 participants