Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install instructions and html, css files #1

Open
lordplumdick opened this issue Aug 11, 2019 · 1 comment
Open

install instructions and html, css files #1

lordplumdick opened this issue Aug 11, 2019 · 1 comment

Comments

@lordplumdick
Copy link

HI !

Great project. Can you commit some instructions for installation on ones own server? The html, css etc files seem to be missing.

@chm-dev
Copy link

chm-dev commented Sep 30, 2021

I know it's 2 years later but I liked the game so much that I decided to run it on my own.

The missing modules are within 3 'layers' of the game. These are:

  • pip modules for python fetcher in folder '/soup',
  • modules for main node app (there is no package json so I had to guess and try few older versions of these)
  • static library files for the client in '/public/includes' folder. You can replace those with cdn links but you have to look for errors in devtools.

Anyways, I made a docker image with game ready to be deployed:
https://hub.docker.com/r/chmielciu/snatch-it

It is big and totally unoptimized image, cause i didnt have that much time, but it works.

Mongodb runs as a service, main server and soup fetcher are started on screen (you can use init.sh)

Package.json with all node dependencies was generated and missing static libs are added as static files - so if anyone is interested you can take the repo (/home/snatch-it) and build proper docker image :)
But if you just want to deploy it and play - my image should work.

Have fun!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants