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