installation notes?
nbi1 opened this issue · comments
Looks promising if only I could figure out how to install it. In the absence of an installation script how about a brief synopsis on how to install? Don't see any relevant files in the master directory. Thanks.
Yes, you are correct that there is no install script and no instructions to set everything up. I plan on working on this either this weekend or next.
I looked into this issue. And the biggest missing requirement to get all this working is to setup the database and import a template database that just has the tables (no user data) needed to work with the web server. I have the database schema but I have not published it to the public mainly because I have a production web server that uses the exact same database schema. I am not a database security expert so I have postpone this issue until I can figure out the safest way to deal with this.
If you have any ideas I am open to hearing them.
I have deployed this web server to goplaychess.com
This chess web server doesn't use Apache but rather the built in web server in the golang language. You mentioned :
I see no harm in publishing the schema since eventually it's going to be known anyway
but take a sample field (not actually copied from my schema)
password
char(128) NOT NULL,
will be exposed on the database schema. The open source code on github reveals the table names and the column names but not the length or datatype or if its NOT NULL. Exposing this extra information is what makes me unsure if this is a potential security issue or not.
May I ask what you intend on doing with this project? Do you want to deploy it and host it on your own domain or just experiment on your own computer? This chess web server also contains an experimental MUD which is in development and a some other other random things such as generating github release notes.
Our chess club just got a site of its own and a server based game playing capability would be a nice feature.
I could potentially refactor my code to a golang package that can be used by you to accomplish what you want but you would need to be familiar with Golang if you were planning to use said package. Also there are a lot of features that this chess web server provides, the less features you need the easier/quicker it would be for me to refactor into something portable for you to use. Do you need a registration page or login page? Would it be okay if random guests played each other and there was no signup required? Do you need SSL/HTTPS secrurity or would plain HTTP suffice? Do you need chat? Do you need user profiles?
If there is no login/registration, no user profile, and no rating then there is no need for a database. That will solve the database security issue we were talking about earlier.
Personally, I would like to install this script on a private domain for my family members only to play tournaments. Having some kind of install script would be amazing!
I will be working on this. I just haven't found time yet but it is on my todo list.
Good afternoon! Your project is wonderful!
For a long time I wanted to launch a small tournament among friends from a chess club.
How can I run this project on my server?
I am not interested in SSL or registration.
All you need is the login page. I can create user accounts myself via SQL database.
Hi,
This goplaychess project is experimental and intended for personal use. Currently I am tied up with another big project and I am unable to work on the goplaychess project. I hope to one day return back to the goplaychess project. To answer your question, as of now there is no easy way for other people to run the goplaychess project on their server however the golang code is open source so if one knew golang programming they could download the code, make a bunch of modifications to it and then they would need to setup the SQL database themselves.
Hi,
I want to use this project as a template for my home chess server. However, I ran into a database issue during the installation. I can't find the MySQL database schema required for the program to work correcly. I deciphered the schemas from the code for some tables, but I am still failing to make the more complex tables work. Is there a way that you could share the database schema to make it possible for other users to install this program.
Once I get a hold of schema, I could write some docs or possibly an install script if you would like me to. Thanks
That is great, thank you so much! Especially for a quick response on a 5 year old issue!