Source code for the dokk.org website. https://dokk.org
zPlus 74abe165ce Fix #1 Stop search while typing. | %!s(int64=5) %!d(string=hai) anos | |
---|---|---|
dokk | %!s(int64=5) %!d(string=hai) anos | |
fuseki | %!s(int64=5) %!d(string=hai) anos | |
.gitignore | %!s(int64=6) %!d(string=hai) anos | |
LICENSE | %!s(int64=6) %!d(string=hai) anos | |
Makefile | %!s(int64=5) %!d(string=hai) anos | |
README.md | %!s(int64=5) %!d(string=hai) anos | |
dokk.png | %!s(int64=6) %!d(string=hai) anos | |
dokk.service | %!s(int64=5) %!d(string=hai) anos | |
dokk.svg | %!s(int64=6) %!d(string=hai) anos | |
favicon.ico | %!s(int64=6) %!d(string=hai) anos | |
fuseki.service | %!s(int64=5) %!d(string=hai) anos | |
gunicorn.py | %!s(int64=5) %!d(string=hai) anos | |
requirements.txt | %!s(int64=5) %!d(string=hai) anos | |
robots.txt | %!s(int64=5) %!d(string=hai) anos | |
settings.ini | %!s(int64=5) %!d(string=hai) anos |
These tools are required to work with the files in this repository. Install them before continuing.
[apache-jena-X.Y.Z.tar.gz](http://archive.apache.org/dist/jena/binaries/)
and extract to /opt/jena
[apache-jena-fuseki-X.Y.Z.tar.gz](http://archive.apache.org/dist/jena/binaries/)
and extract to /opt/fuseki
fuseki/run
from this repository into /opt/fuseki/run
fuseki.service
to install a systemd service/opt/jena/bin
and /opt/fuseki/bin
to $PATH
/srv/dokk
Create virtual environment for Python
cd /srv/dokk virtualenv -p python3 venv
-> if didn't work try: python3 -m venv venv
source ./venv/bin/activate pip3 install -r requirements.txt
Build assets (CSS, JavaScript)
make
Create a folder for storing uploaded files
mkdir /srv/dokk-archive
Configure settings by editing settings.ini
Install a systemd service; follow the instructions in dokk.service
.
Or run a server directly
# With gunicorn
gunicorn --log-file - --config gunicorn.py dokk:application
# Or with Python
python3 -m bottle --debug --reload --bind 127.0.0.1:8080 dokk
DOKK is free software released under the GNU Affero General Public License, either version 3 or (at your option) any later version.