Giter Site home page Giter Site logo

sws_gathers's Introduction

ENSL Gathers App

Status

A realtime micro web service to organise gathers for ENSL.org

Design Goals

  1. Create a nice place where the NS2 community can assemble and have fun

  2. Create an efficient, easy-to-use and flexible system to create NS2 gathers

  3. Support the modern web and basic usability expectactions (e.g. realtime, phone and tablet friendly)

That's it

Requirements

  • node.js > 6.0

  • MongoDB

Run in development

npm install # Install deps

npm run watch # Compile and watch frontend assets

RANDOM_USER=true npm run dev # Run dev server, loading yourself as a random user
# or
FIXED_USER=989 npm run dev # Run dev server, loading yourself as any user with the specified id

Run in production

npm install # Install deps

npm start_production # Compile assets and run in production

License

MIT Licensed

sws_gathers's People

Contributors

absurdon avatar angelrioncervi avatar arturire avatar brcaswell avatar cblanc avatar dependabot[bot] avatar hystesgithub avatar keatsandyeats avatar myxious avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sws_gathers's Issues

Ensl Gather Archiving

  • Open endpoint on ensl.org to create finished gathers
  • Post to endpoint when gathers are completed

Pull Bans

  • Retrieve ban data from /users API
  • Disconnect banned users

Regather / Remove Gatherer Voting

Sometimes gathers can get stuck on AFK gatherers.

Add voting system to remove a gatherer requiring a sizeable number of votes (e.g. at least 6 votes?)

Admin Tools

  • Modify Messages
  • Remove Gatherer
  • Disconnect users

npm start fails

Installed MongoDB and Node.js 0.12

Here's what happens when I try npm start:

Andrews-iMac:sws_gathers andrewkrigline$ npm start

> [email protected] start /Users/andrewkrigline/Projects/02.Self/11.NS2/sws_gathers
> npm run compile && node --harmony index.js


> [email protected] compile /Users/andrewkrigline/Projects/02.Self/11.NS2/sws_gathers
> node_modules/gulp/bin/gulp.js

[10:57:06] Using gulpfile ~/Projects/02.Self/11.NS2/sws_gathers/gulpfile.js
[10:57:06] Starting 'compile'...
[10:57:07] Finished 'compile' after 724 ms
[10:57:07] Starting 'default'...
[10:57:07] Finished 'default' after 13 μs
Listening on port 8000

/Users/andrewkrigline/Projects/02.Self/11.NS2/sws_gathers/node_modules/mongoose/node_modules/mongodb/lib/server.js:228
        process.nextTick(function() { throw err; })
                                            ^
Error: connect ECONNREFUSED
    at exports._errnoException (util.js:746:11)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1010:19)

npm ERR! Darwin 14.5.0
npm ERR! argv "/Users/andrewkrigline/.nvm/versions/node/v0.12.7/bin/node" "/Users/andrewkrigline/.nvm/versions/node/v0.12.7/bin/npm" "start"
npm ERR! node v0.12.7
npm ERR! npm  v2.11.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: `npm run compile && node --harmony index.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] start script 'npm run compile && node --harmony index.js'.
npm ERR! This is most likely a problem with the sws_gathers package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm run compile && node --harmony index.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls sws_gathers
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/andrewkrigline/Projects/02.Self/11.NS2/sws_gathers/npm-debug.log

Here's DebugLog:

0 info it worked if it ends with ok
1 verbose cli [ '/Users/andrewkrigline/.nvm/versions/node/v0.12.7/bin/node',
1 verbose cli   '/Users/andrewkrigline/.nvm/versions/node/v0.12.7/bin/npm',
1 verbose cli   'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart [email protected]
6 info start [email protected]
7 verbose unsafe-perm in lifecycle true
8 info [email protected] Failed to exec start script
9 verbose stack Error: [email protected] start: `npm run compile && node --harmony index.js`
9 verbose stack Exit status 1
9 verbose stack     at EventEmitter.<anonymous> (/Users/andrewkrigline/.nvm/versions/node/v0.12.7/lib/node_modules/npm/lib/utils/lifecycle.js:213:16)
9 verbose stack     at EventEmitter.emit (events.js:110:17)
9 verbose stack     at ChildProcess.<anonymous> (/Users/andrewkrigline/.nvm/versions/node/v0.12.7/lib/node_modules/npm/lib/utils/spawn.js:24:14)
9 verbose stack     at ChildProcess.emit (events.js:110:17)
9 verbose stack     at maybeClose (child_process.js:1015:16)
9 verbose stack     at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
10 verbose pkgid [email protected]
11 verbose cwd /Users/andrewkrigline/Projects/02.Self/11.NS2/sws_gathers
12 error Darwin 14.5.0
13 error argv "/Users/andrewkrigline/.nvm/versions/node/v0.12.7/bin/node" "/Users/andrewkrigline/.nvm/versions/node/v0.12.7/bin/npm" "start"
14 error node v0.12.7
15 error npm  v2.11.3
16 error code ELIFECYCLE
17 error [email protected] start: `npm run compile && node --harmony index.js`
17 error Exit status 1
18 error Failed at the [email protected] start script 'npm run compile && node --harmony index.js'.
18 error This is most likely a problem with the sws_gathers package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error     npm run compile && node --harmony index.js
18 error You can get their info via:
18 error     npm owner ls sws_gathers
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]

Gatherer Profiles

Enable gatherer profile integration

  • Lifeform selection
  • Commander preference
  • Steam notice settings
  • Twitch stream

Add notifications panel

To keep track of:

  • Joiners / leavers of gather
  • Changing state of gather
  • Voting
  • Joiners / leavers of app?

Show availability

Show online / offline status
Online = User connected and gathers app in focus
Away = User connected, but gathers app is no longer in focus
Offline = User disconnected

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.