• Stars
    star
    128
  • Rank 281,044 (Top 6 %)
  • Language
    TypeScript
  • Created over 8 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

massively multiplayer golfing

manygolf

Build Status

massively multiplayer procedurally-generated 2d golf. think desert golf + trackmania

play

https://manygolf.club/

dev guide

installing

after cloning the repo, run npm install in the project root to get all necessary dependencies to build, test, and run.

running

in two different sessions:

npm run server-watch
npm run client-watch

and navigate to localhost:8080

test

npm run test-watch

production

create a secret.json with ssh & sentry deets

{
  "host": "zombo.com",
  "username": "bigjeffrey",
  "path": "/home/bigjeffrey/manygolf",
  "ravenDSNPublic": "https://[email protected]/1234"
  "ravenDSNPrivate": "https://foo:[email protected]/1234"
}

on your server, make sure you have node+npm and forever (npm install -g forever) installed

then locally:

npm run deploy

this builds files locally and bundles up built files + source, deploys it to your specified path, and runs it.

the server runs using the forever tool. you can start/stop/look at logs with this.

it's up to you to expose the server (port 4080) and the files in build/ to the world. nginx can do it!

database

migrations

Manygolf uses the sqitch tool for DB migrations. To use locally:

createdb manygolf
cd sqitch
cp sqitch.conf.default sqitch.conf
sqitch deploy

This should create the local schema for you.

Sqitch is also used to deploy to remote targets. You can add a remote target to sqitch.conf using sqitch target add. sqitch.conf is gitignored for this reason. If you're using Heroku, you can add a remote target like this:

sqitch target add production "`heroku config:get DATABASE_URL --remote heroku`"

configuring locally

Manygolf uses dotenv to load the database configuration from a .env file. Just cp _env .env and replace the database URL with your local DB, e.g.:

DATABASE_URL=postgres://your_username_here@localhost:5432/manygolf

todos

https://trello.com/b/EfK64dEy/manygolf

credits

More Repositories

1

react-pikaday

A React component wrapper around Pikaday
JavaScript
111
star
2

web-audio-recording-demo

uses recorderjs + web audio api. chrome only.
JavaScript
53
star
3

redux-happy-async

async state with less boilerplate
JavaScript
29
star
4

ember-firebase-adapter

(DEPRECATED) A Firebase adapter for Ember Data.
JavaScript
29
star
5

coquette-inspect

A Chrome DevTools extension for inspecting games made with the Coquette framework
JavaScript
28
star
6

grunt-microlib

Shared tooling between Ember.js microlibraries.
JavaScript
27
star
7

react-spin

React component wrapper for spin.js
JavaScript
27
star
8

telegraph

p2p netcode for the browser, adapted from GGPO
TypeScript
26
star
9

Noted-App

A note-taking application built in Ember.JS on Rails.
JavaScript
24
star
10

ember-firebase-chat

beginnings of an example app for an ember-data + firebase adapter
JavaScript
22
star
11

peridot

a node+react static site generator
JavaScript
14
star
12

defeatureify

experimental. node script to remove specially flagged feature blocks from ember source.
JavaScript
14
star
13

bipp

JavaScript
12
star
14

injectedWindow.eval-communication-sadness

JavaScript
11
star
15

jam-buds

come on and share this jam with me
Kotlin
9
star
16

broccoli-baked-handlebars

broccoli transform that turns hbs into html
JavaScript
6
star
17

es6-module-example

JavaScript
6
star
18

react-router-flummox-auth-demo

JavaScript
5
star
19

blorp

an attempt at making a platformer game
JavaScript
5
star
20

mode7

JavaScript
5
star
21

go-selecta

port of @garybernhardt's selecta to go
Go
4
star
22

earthling

React for non-astronauts
JavaScript
4
star
23

Fancy-SA-Forums

Custom userscript/style for the Something Awful forums.
JavaScript
4
star
24

lander

get dots, don't hit walls
JavaScript
3
star
25

disco-shuffler

not really sure what this is yet
JavaScript
3
star
26

browserify-es6-modules

convert es6 modules to commonjs modules as a browserify transform
JavaScript
3
star
27

33rpm

a video game
JavaScript
3
star
28

monotron

JavaScript
3
star
29

live-todos

Clone of Trello powered by Ember+Firebase
JavaScript
2
star
30

pearl

a small typescript games framework
TypeScript
2
star
31

pearl-archive

a small typescript games framework
TypeScript
2
star
32

es6-rest-params

compile es6 rest params to es3
JavaScript
2
star
33

amd-to-es6

please dont use this
JavaScript
2
star
34

sledgehammer

TypeScript
2
star
35

broccoli-karma

wraps karma to run on broccoli rebuild
JavaScript
2
star
36

humbot

A chat bot for Humbug.
Python
1
star
37

advent-2019

advent of code 2019
Kotlin
1
star
38

shoebox

TypeScript
1
star
39

react-fragment-demo

JavaScript
1
star
40

njpw-randomizer

http://whatnjpwmatchshouldiwatch.surge.sh/
JavaScript
1
star
41

boilerplate

JavaScript
1
star
42

dom-binding-cljs

I can't stop porting things to cljs apparently!!
Clojure
1
star
43

todomvc-eak

TodoMVC in Ember App Kit
JavaScript
1
star
44

audio-split

JavaScript
1
star
45

SMSBot

an irc bot for sms. powered by twilio & heroku
Python
1
star
46

thomasboyt.github.com

old site
CSS
1
star
47

shootmania-server-script

A very basic script for ShootMania servers. Includes admin commands.
Python
1
star
48

yeah

JavaScript
1
star
49

advent-2017

Advent of Code 2017 answers
JavaScript
1
star
50

beat-connection

TypeScript
1
star
51

arena-playback-cljs

JavaScript
1
star
52

bounce-house

a competitive multiplayer game for 2-? players
TypeScript
1
star
53

nfo-viewer

JavaScript
1
star
54

arena-playback

JavaScript
1
star
55

jason

a json parser in es6, because reasons
JavaScript
1
star
56

slack-slash-venmo

Clojure
1
star
57

remarkable-jsx

JavaScript
1
star
58

babel-config-generator

JavaScript
1
star
59

blorp-jump

endless platformer experiment
JavaScript
1
star
60

loud-places

JavaScript
1
star
61

advent-2020

Rust
1
star
62

barons-dope-playlist

HTML
1
star