Attempt to clarify installation instructions a little master
authorBenjamin Auder <benjamin.auder@somewhere>
Fri, 15 Sep 2023 10:27:01 +0000 (12:27 +0200)
committerBenjamin Auder <benjamin.auder@somewhere>
Fri, 15 Sep 2023 10:27:01 +0000 (12:27 +0200)
.gitfat
INSTALL_INSTRUCTIONS
client/public/images/mark.svg [deleted file]

diff --git a/.gitfat b/.gitfat
index 53d69a1..3dc7c80 100644 (file)
--- a/.gitfat
+++ b/.gitfat
@@ -1,2 +1,2 @@
 [rsync]
-remote = gitfat@auder.net:~/files/vchess
+remote = gitfat@auder.net:files/vchess
index c560b1f..936641c 100644 (file)
@@ -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 (file)
index 9c1b930..0000000
+++ /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>