PaH is a clone of the Cards against Humanity™ card game. It is written as a web app and uses Codeigniter 4 and Bootstrap 4 as well as Font Awesome Free 5.
-
Apache Webserver with rewrite and php modules
-
PHP version 7.2 or higher is required, with the following extensions installed and enabled:
-
MySQL or compatible database server
The server was developed and tested on a Raspberry Pi 3B.
- Download the master branch's zip package. (Alternatively you can clone this repo.)
- Extract the package's contents to your web server directory (e.g.
/var/www/html/cah
). - Create a mysql database for the game.
- Import
install/base.sql
to the database. This will create the table structure and store all the cards in the db. - Copy or rename file
.env_example
to.env
. - Edit
.env
and fill in the missing data.
If everything is configured correctly, you should now be able to play the game.
Special thanks for testing and bug reporting to: M.B., M.E., B.G., S.L., J.S., L.S., A.W.
Developed by R.J.P.