From 3a0ff866dcee4b465c57859f0c66a19546995645 Mon Sep 17 00:00:00 2001 From: Benjamin Auder <benjamin.auder@somewhere> Date: Fri, 15 Sep 2023 12:27:01 +0200 Subject: [PATCH] Attempt to clarify installation instructions a little --- .gitfat | 2 +- INSTALL_INSTRUCTIONS | 13 ++++++-- client/public/images/mark.svg | 56 ----------------------------------- 3 files changed, 12 insertions(+), 59 deletions(-) delete mode 100644 client/public/images/mark.svg diff --git a/.gitfat b/.gitfat index 53d69a1a..3dc7c803 100644 --- a/.gitfat +++ b/.gitfat @@ -1,2 +1,2 @@ [rsync] -remote = gitfat@auder.net:~/files/vchess +remote = gitfat@auder.net:files/vchess diff --git a/INSTALL_INSTRUCTIONS b/INSTALL_INSTRUCTIONS index c560b1fb..936641c1 100644 --- a/INSTALL_INSTRUCTIONS +++ b/INSTALL_INSTRUCTIONS @@ -4,11 +4,20 @@ git clone git@github.com:yagu0/vchess.git # or https version: git clone https://github.com/yagu0/vchess.git cd vchess +### INSTALL TOOLS ### + +# You need to install sqlite3, nodejs and npm (example for Ubuntu). +# wget & rsync help too, they are generally installed by default. +apt install sqlite3 nodejs npm + ### SERVER ### cd server/db -# Next line doesn't work, but should (?!); anyway typing in SQLite works. -sqlite3 vchess.sqlite '.read create.sql ; .read populate.sql' +sqlite3 vchess.sqlite +# And then within sqlite invite command: +.read create.sql +.read populate.sql +# Then exit sqlite (\q works) # Rename dbconnect.py.dist --> dbconnect.py and edit DB path on line 7 # Then synchronize the GameStat table: ./sync_gamestat.py diff --git a/client/public/images/mark.svg b/client/public/images/mark.svg deleted file mode 100644 index 9c1b930a..00000000 --- a/client/public/images/mark.svg +++ /dev/null @@ -1,56 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - version="1.1" - id="Mark possible moves - vchess" - viewbox="0 0 599 599" - width="600" - height="600" - sodipodi:docname="mark.svg" - inkscape:version="0.92.4 5da689c313, 2019-01-14"> - <metadata - id="metadata8"> - <rdf:RDF> - <cc:Work - rdf:about=""> - <dc:format>image/svg+xml</dc:format> - <dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> - </cc:Work> - </rdf:RDF> - </metadata> - <defs - id="defs6" /> - <sodipodi:namedview - pagecolor="#ffffff" - bordercolor="#666666" - borderopacity="1" - objecttolerance="10" - gridtolerance="10" - guidetolerance="10" - inkscape:pageopacity="0" - inkscape:pageshadow="2" - inkscape:window-width="960" - inkscape:window-height="1060" - id="namedview4" - showgrid="false" - inkscape:zoom="0.39333333" - inkscape:cx="310.16949" - inkscape:cy="300" - inkscape:window-x="0" - inkscape:window-y="20" - inkscape:window-maximized="0" - inkscape:current-layer="Mark possible moves - vchess" /> - <circle - id="mark_circle" - cx="300" - cy="300" - r="180" - style="fill:#9900cc;stroke-width:0.89999998" /> -</svg> -- 2.44.0