aboutsummaryrefslogtreecommitdiffhomepage
path: root/util/d/cgi/search/README
blob: eb8fcde8c762f40a970d992c5dece9c15a11a2a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
change db name to match name of db you create
cv.db_selected = "spine.search.sql.db";

~dr/bin/spine-ldc -v --sqlite-db-create --sqlite-db-filename="spine.search.db" --cgi-sqlite-search-filename="spine-search" --output=/var/www ~grotto/repo/git.repo/code/project-spine/doc-reform-markup/markup_samples/markup/pod/*

~dr/bin/spine-ldc -v  --sqlite-update --sqlite-db-filename="spine.search.db" --output=/var/www ~grotto/repo/git.repo/code/project-spine/doc-reform-markup/markup_samples/markup/pod/*

cd util/d/cgi/search/src
dub --force --compiler=ldc2 && sudo cp -v cgi-bin/spine-search /usr/lib/cgi-bin/.

http://localhost/cgi-bin/spine-search?