Giter Site home page Giter Site logo

jjones780 / tabloro Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fyyyyy/tabloro

0.0 0.0 1.0 13.82 MB

Play any board game online with friends in the browser. Runs on any device. Using webRTC for peer2peer video chat. Using phaser for rendering.

JavaScript 92.42% HTML 4.42% CSS 3.16%

tabloro's People

Contributors

anto-acube avatar bazh avatar birsi avatar chaschev avatar dependabot[bot] avatar fyyyyy avatar gotjosh avatar jjones780 avatar madhums avatar panzhangwang avatar pawe avatar recodify avatar yoshuawuyts avatar

Watchers

 avatar

Forkers

yannba

tabloro's Issues

Doensn't work

I followed the setup guide, got the following:

[email protected] start /var/www/tabloro
NODE_PATH=./config:./app/controllers:./lib NODE_ENV=development ./node_modules/.bin/nodemon server.js

exception in nodemon killing node
ReferenceError: primordials is not defined
at fs.js:39:5
at req_ (/var/www/tabloro/node_modules/natives/index.js:143:24)
at Object.req [as require] (/var/www/tabloro/node_modules/natives/index.js:55:10)
at Object. (/var/www/tabloro/node_modules/graceful-fs/fs.js:1:37)
at Module._compile (internal/modules/cjs/loader.js:1147:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1167:10)
at Module.load (internal/modules/cjs/loader.js:996:32)
at Function.Module._load (internal/modules/cjs/loader.js:896:14)
at Module.require (internal/modules/cjs/loader.js:1036:19)
at require (internal/modules/cjs/helpers.js:72:18)


If appropriate, please file an error with the output from:
$ /usr/bin/node /var/www/tabloro/node_modules/.bin/nodemon server.js --dump
At http://github.com/remy/nodemon/issues/new

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: NODE_PATH=./config:./app/controllers:./lib NODE_ENV=development ./node_modules/.bin/nodemon server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-04-08T17_55_47_108Z-debug.log

Need more setup info

Hi JJones,
Thank you for your Tabloro fork and improvement! It's exactly what we need in the time of self-isolation. Self-hosting the storage of the assets was a great thing to do.

However, it's not completely clear for me how to set it up. I have very basic server admin skills. I have my own VPS with Ubuntu 18, Apache, and my domain name attached and https enabled with lets-encrypt. Installing Node.js and MongoDB doesn't seem to be a problem.

Then I have a few questions:

  1. To which directory on my server should I copy the Tabloro files from your repository?
  2. How do I make it work with my domain name (e.g. https://mydomain.name/tabloro)? Should I put something in /var/www, or set up something in Apache?
  3. Do I need additional certificate from lets-encrypt if I already have one for mydomain.name?
  4. What are the server requirements? I have 1 VCPU, 2 GB RAM, 20 GB disk - should that be enough?

Thank you very much for your help!

Not working - seems to be a problem with IPv6

This is what I get after npm start:

`> [email protected] start /var/www/tabloro
> NODE_PATH=./config:./app/controllers:./lib NODE_ENV=development ./node_modules/.bin/nodemon server.js

8 Apr 20:52:58 - [nodemon] v1.2.1
8 Apr 20:52:58 - [nodemon] to restart at any time, enter `rs`
8 Apr 20:52:58 - [nodemon] watching: *.*
8 Apr 20:52:58 - [nodemon] starting `node --harmony server.js`
development
/!\  EurecaServer syntax is deprecated please see http://eureca.io/doc/tutorial-A00-Deprecations.html
* using primus:engine.io
attach eurecaServer 0.6.0-dev
the server/replset/mongos/db options are deprecated, all their options are supported at the top level of the options object [poolSize,ssl,sslValidate,sslCA,sslCert,sslKey,sslPass,sslCRL,autoReconnect,noDelay,keepAlive,keepAliveInitialDelay,connectTimeoutMS,family,socketTimeoutMS,reconnectTries,reconnectInterval,ha,haInterval,replicaSet,secondaryAcceptableLatencyMS,acceptableLatencyMS,connectWithNoPrimary,authSource,w,wtimeout,j,forceServerObjectId,serializeFunctions,ignoreUndefined,raw,bufferMaxEntries,readPreference,pkFactory,promiseLibrary,readConcern,maxStalenessSeconds,loggerLevel,logger,promoteValues,promoteBuffers,promoteLongs,domainsEnabled,checkServerIdentity,validateOptions,appname,auth,user,password,authMechanism,compression,fsync,readPreferenceTags,numberOfRetries,auto_reconnect,minSize,monitorCommands,retryWrites,retryReads,useNewUrlParser,useUnifiedTopology,serverSelectionTimeoutMS,useRecoveryToken,autoEncryption]
eurecaServer config
Express https app started on port 4000
{ address: '::', family: 'IPv6', port: 4000 }
(node:15815) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect.
(node:15815) DeprecationWarning: current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.
(node:15815) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
(node:15815) DeprecationWarning: Mongoose: the `isAsync` option for custom validators is deprecated. Make your async validators return a promise instead: https://mongoosejs.com/docs/validation.html#async-custom-validators
(node:15815) DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead.

How do I connect to Tabloro in browser? I tried [my_IP]:4000 (and also :3000), it doesn't work.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.