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