ajanata / PretendYoureXyzzy

A web clone of the card game Cards Against Humanity.
https://pretendyoure.xyz/zy
BSD 2-Clause "Simplified" License
1.22k stars 397 forks source link

PYX server hosted on a raspberry pi #220

Open acemasterhan opened 4 years ago

acemasterhan commented 4 years ago

After a lot of struggling I managed to get a server up and running on a Raspberry Pi by making it use https://repo1.maven.org/maven2/org/xerial/sqlite-jdbc/3.28.0/

Perhaps you could update it to use sqlite-jdbc 3.28.0 in case anyone else would like to host their own server on a pi?

If not then maybe add a note to the wiki or the readme?

I spent hours searching and couldn't find any information on this. I'd like to save anyone else the same trouble if possible.

GrimTheReaper commented 4 years ago

Why not just run it with Docker on a RPI?

acemasterhan commented 4 years ago

I've never used docker so that may be the better option. I don't really know much about it.

It turns out all I had to do was edit the pom.xml and change the jdbc-sqlite version number to 3.28.0 and it will download that version and work on the pi when running the maven command.

RyanHakurei commented 4 years ago

@GrimTheReaper There are no Raspberry Pi docker images and the one I forked off of the only existing Docker image doesn't seem to want to work. Though with this bit of info that may change.

RyanHakurei commented 4 years ago

@acemasterhan I know this is an old thread but try this image on for size: https://github.com/ryaniskira/ArmYourXyzzy Note it's arm64 only.

ajanata commented 4 years ago

I've never used docker so that may be the better option. I don't really know much about it.

It turns out all I had to do was edit the pom.xml and change the jdbc-sqlite version number to 3.28.0 and it will download that version and work on the pi when running the maven command.

Mind opening a PR for that?