Skip to content
/ gogen Public

Python Django Web App for playing the word game "Gogen". The app makes use of available puzzles (with permission) to provide an easy to user interface for playing the game. Gogen tutorial: http://www.puzzles.grosse.is-a-geek.com/ubergogentut.html

License

Notifications You must be signed in to change notification settings

Matt-Mcl/gogen

Repository files navigation

Copy postgres files for container to use + create log file:

cp ~/.pgpass ./gogensite
cp ~/.pg_service.conf ./gogensite
touch ./gogensite/error.log

Ensure Postgres server is configured to allow connections from all hosts/docker containers. Done in Config file /etc/postgresql/{Version}/main/postgresql.conf

Also edit (/etc/postgresql/{Version}/main/pg_hba.conf) and include the line to allow docker to connect to postgres + allow gogen script to access postgres:

host all all 10.0.0.0/0 scram-sha-256
local all postgresmd5 md5

.env file structure:

SECRET_KEY=<SECRET_KEY>
PG_PUZZLE_DBNAME=<PG_PUZZLE_DBNAME>
PG_PUZZLE_USER=<PG_PUZZLE_USER>
PG_PUZZLE_PASSWORD=<PG_PUZZLE_PASSWORD>
PG_DEV_DBNAME=<PG_DEV_DBNAME>
PG_TEST_DBNAME=<PG_TEST_DBNAME>
PG_USER=<PG_USER>
PG_PASSWORD=<PG_PASSWORD>
PG_HOST=<PG_HOST>
PG_PORT=<PG_PORT>

For tests:

sudo apt-get install chromium-browser

This should automatically install the browser as well as the driver. (ensure snap is installed) Check that /snap/bin/chromium.chromedriver exists.

About

Python Django Web App for playing the word game "Gogen". The app makes use of available puzzles (with permission) to provide an easy to user interface for playing the game. Gogen tutorial: http://www.puzzles.grosse.is-a-geek.com/ubergogentut.html

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •