X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=INSTALL_INSTRUCTIONS;fp=INSTALL_INSTRUCTIONS;h=936641c1653d0a8b04eee0d5801406f9d18d1f23;hp=c560b1fb61a8c4abed416e03e8aa925544173c3c;hb=3a0ff866dcee4b465c57859f0c66a19546995645;hpb=7c165b3a63d7f18bc7046766a8a2090a492d3b18 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