Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coldfix/sudoku-swi
Awful static web interface for a sudoku generator
https://github.com/coldfix/sudoku-swi
sudoku-puzzle web-interface
Last synced: 25 days ago
JSON representation
Awful static web interface for a sudoku generator
- Host: GitHub
- URL: https://github.com/coldfix/sudoku-swi
- Owner: coldfix
- License: other
- Created: 2016-12-03T19:11:34.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-02-13T21:59:22.000Z (over 1 year ago)
- Last Synced: 2023-03-24T13:30:22.367Z (over 1 year ago)
- Topics: sudoku-puzzle, web-interface
- Language: C++
- Homepage: http://sudoku.coldfix.de/
- Size: 102 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
- License: COPYING.GPLv3.txt
Awesome Lists containing this project
README
sudoku-swi
----------Lightweight Static Web Interface for sudoku generator, visible on
sudoku.coldfix.de_... _sudoku.coldfix.de: http://sudoku.coldfix.de
The thing itself isn't really useful, but I had already coded the sudoku
generator a while back, so it wasn't much effort to provide a web-interface.
This is coded in illegably ugly PHP… shame on me. I am now setting the code
free, so you can judge for yourself.Installation
~~~~~~~~~~~~Build the generator:
.. code-block:: bash
git clone https://github.com/coldfix/sudoku-swi
cd sudoku-swi
apt-get install base-devel boost-dev
makeNow, serve the ``html/`` folder with CGI enabled. For example, use lighttpd
to serve on http://localhost:3030:.. code-block:: bash
apt-get install lighttpd php php-cgi fcgi
lighttpd -Df lighttpd.confDocker
------Build a docker image from source that runs the site using lighttpd::
git clone https://github.com/coldfix/sudoku-swi
cd sudoku-swi
docker build . -t coldfix/sudokuOr just pull the latest version from Docker Hub::
docker pull coldfix/sudoku
And run the site as follows::
docker run --rm --init -p 3000:3000 --cap-drop=all coldfix/sudoku