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