raynpelikoneet is in for VA
and
Bill Murray is in for beneather
Forum Index > TL Mafia |
rsoultin
Netherlands15308 Posts
raynpelikoneet is in for VA and Bill Murray is in for beneather | ||
Xatalos
Finland9675 Posts
| ||
Xatalos
Finland9675 Posts
![]() If someone dies, then you can simply remove that player in the game view. | ||
Onegu
United States9699 Posts
On August 21 2015 13:40 rsoultin wrote: Not sure how this works with replacements but we have two (if you've already worked this out with oneg, disregard) raynpelikoneet is in for VA and Bill Murray is in for beneather How cute you think onegu actually does host work. That is why he has you. | ||
Xatalos
Finland9675 Posts
| ||
rsoultin
Netherlands15308 Posts
| ||
Keirathi
United States4679 Posts
Maybe it's not as simple as I make it sound, though ![]() | ||
Xatalos
Finland9675 Posts
| ||
Keirathi
United States4679 Posts
When I run "lein ring server" it starts loading all of the dependencies, then it gets tot he part about compiling the clojure stuff, and it fails at either /src/mafia-votecount/models.clj or /src/lobos/config.clj with a NullPointerException. Edit: Here's the pastebin of the error message if it makes any sense to you ![]() http://pastebin.com/raw.php?i=K3bgQssq Edit2: Oh, I think I just needed to change the db-uri subname in the files. But now I'm running into another problem. (def db (let [db-uri (java.net.URI. (System/getenv "DATABASE_URL"))] (->> (string/split (.getUserInfo db-uri) #":") (#(identity {:db (last (string/split (System/getenv "DATABASE_URL") #"\/")) :classname "org.postgresql.Driver" :subprotocol "postgresql" :user (% 0) :password (% 1) :subname "//ec2-54-197-253-142.compute-1.amazonaws.com:5432/dfnp55jvc64kc4"}))))) I changed the subname to use my heroku link, but now I get "org.postgresql.util.PSQLException: FATAL: password authentication failed for user" This is a bit frustrating since I have it set up like yours. I must just be missing something, since I have it set up like yours and the "DATABASE_URL" is listed in my config variables from the app page in the heroku dashboard. :\ Nevermind all of this, I'm an idiot. I changed the subname locally but forgot to commit the changes before I tried to push. Herp derp. | ||
Xatalos
Finland9675 Posts
You got it working now by creating your own Heroku DB though? | ||
Keirathi
United States4679 Posts
The problem I was having when I gave up was that I couldn't figure out how to run the migrations script to create the db tables/etc, so my app was just crashing as soon as I tried to load it every time ![]() | ||
Xatalos
Finland9675 Posts
I'll get back to you later. | ||
Xatalos
Finland9675 Posts
| ||
Xatalos
Finland9675 Posts
1) Install leiningen ("brew install leiningen" for OS X and something similar for Linux, I'd assume... not sure about Windows) 2) Clone the Git repository (git clone https://github.com/Xatalos/mafia-votecount - or whatever the address of your forked repository is in case you intended to make a pull request from a fork) 3) Now copy that folder and rename the new folder as something like mafia-votecount-local. Once that's done, go to the new folder and replace these files with the following contents: project.clj: http://pastebin.com/A7sSdFMe src/lobos/config.clj: http://pastebin.com/k9YdKbEm src/mafia_votecount/models.clj: http://pastebin.com/zScESAt1 4) Now you're using a completely functional, empty, local H2 database (all data is stored on your own computer). Just type "lein ring server" and you're ready to go for testing any changes locally (no need for Heroku or anything). | ||
Keirathi
United States4679 Posts
I'll play around with it and see what I can come up with :D | ||
Xatalos
Finland9675 Posts
![]() Right now there are a couple of issues remaining that could be nice to fix at some point (if you wanted ideas haha): 1) Ordering for the votecount targets (by the amount of voters they have) 2) Get night start games working (currently you can work around the issue by simply not making a correctly formatted N0 post, but naturally it would be nicer if everything worked automatically) 3) Some sort of authentication system (perhaps just requiring some single password for editing the database?) 4) A button for adding new players to a game or something like that | ||
Xatalos
Finland9675 Posts
| ||
Xatalos
Finland9675 Posts
| ||
rsoultin
Netherlands15308 Posts
![]() | ||
Xatalos
Finland9675 Posts
| ||
| ||
![]() StarCraft 2 StarCraft: Brood War Britney Stormgate![]() ![]() Bisu ![]() Mini ![]() ggaemo ![]() Dewaltoss ![]() sSak ![]() Aegong ![]() soO ![]() Rock ![]() scan(afreeca) ![]() ![]() Dota 2 League of Legends Counter-Strike Heroes of the Storm Other Games Organizations
StarCraft 2 • davetesta20 StarCraft: Brood War• Reevou ![]() ![]() • LUISG ![]() • intothetv ![]() • sooper7s • Migwel ![]() • AfreecaTV YouTube • LaughNgamezSOOP • IndyKCrew ![]() • Kozan Dota 2 League of Legends Counter-Strike Other Games |
DaveTesta Events
The PondCast
WardiTV Summer Champion…
Replay Cast
LiuLi Cup
uThermal 2v2 Circuit
RSL Revival
RSL Revival
uThermal 2v2 Circuit
CSO Cup
[ Show More ] Sparkling Tuna Cup
uThermal 2v2 Circuit
Wardi Open
RotterdaM Event
RSL Revival
|
|