Source code for the dokk.org website. https://dokk.org
zPlus 74abe165ce Fix #1 Stop search while typing. | 5 år sedan | |
---|---|---|
dokk | 5 år sedan | |
fuseki | 5 år sedan | |
.gitignore | 6 år sedan | |
LICENSE | 6 år sedan | |
Makefile | 5 år sedan | |
README.md | 5 år sedan | |
dokk.png | 6 år sedan | |
dokk.service | 5 år sedan | |
dokk.svg | 6 år sedan | |
favicon.ico | 6 år sedan | |
fuseki.service | 5 år sedan | |
gunicorn.py | 5 år sedan | |
requirements.txt | 5 år sedan | |
robots.txt | 5 år sedan | |
settings.ini | 5 år sedan |
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.