emcniece / DockerYourXyzzy

Dockerized Cards Against Humanity clone - https://github.com/ajanata/PretendYoureXyzzy
71 stars 38 forks source link

Adding custom cards. #13

Open Villhahallon opened 3 years ago

Villhahallon commented 3 years ago

Hello! I'm not good with docker and I wonder if there is a way to enable/add custom card to the game. Installed it via docker-compose on my local server and can't find any instructions on how to do it.

emcniece commented 3 years ago

Hi! Your question is more suitable for the actual code repository (https://github.com/ajanata/PretendYoureXyzzy), this repo is only for the Docker deploy component.

That said, I do know they have some instructions for adding custom decks in their wiki over here: https://github.com/ajanata/PretendYoureXyzzy/wiki/Cardcast

I'm not too familiar with the inner workings of this project, if you have trouble adding cards I'd recommend asking in https://github.com/ajanata/PretendYoureXyzzy and you'll probably get better support :)

Good luck!

VictorElHajj commented 3 years ago

Now that Cardcast is down here's how to do it: Replace

  && git clone -b $GIT_BRANCH https://github.com/ajanata/PretendYoureXyzzy.git /project \

With

&& git clone -b "cardcast-replacement" https://github.com/devgianlu/PretendYoureXyzzy.git /project \

In the Dockerfile to use PYX PR#241 (https://github.com/ajanata/PretendYoureXyzzy/pull/241) which allows you to upload / download JSON files for custom decks. Hopefully it will be merged soon which would allow it without any modifications

SnowDrifterr commented 3 years ago

Would you mind giving a bit of a play by play on how to do this? Making my head spin.