<Thomas>
RockyTV: Out of curiosity: Are you still interested in helping with SDB (go version)?
<RockyTV>
uh
<RockyTV>
I wish. I moved to a new school and I'm focusing on it. I might not have enough time to spend working on SDB, but I can help
<Thomas>
Focus on your school, its no problem
<Thomas>
Just wanted to know if you are still interested in case I need help :)
<RockyTV>
I still haven't installed Go in my PC
<RockyTV>
:P
<Thomas>
At the moment it is still stupidly porting the python code
<RockyTV>
I just realized I forgot to clone the production code to dev, doing it now
<RockyTV>
(before my vacation ended)
<Thomas>
VITAS: btw, I am redoing some of the routes to be truly RESTful (GET for show, POST for create, PUT for modify, DELETE for delete), because a) it is a bit more consistent and b) because the go web thingy I am using doesnt support all of our old urls
<VITAS>
ok... so you will rewrite the frontends routes too?
<VITAS>
:>
<Thomas>
Yes
<Thomas>
(its not like the frontend has much stuff that needed POST / will need PUT :D)
<RockyTV>
I get permission denied trying to clone to /opt/SpaceDock
<RockyTV>
oo nvm
<Thomas>
just sudo :D
<RockyTV>
ya
<RockyTV>
ok, cloned
<RockyTV>
now I'll setup a DB (it's postgre, right?)
<Thomas>
postgres yes
<Thomas>
I might have used mariadb for backend, dunno
<Thomas>
But postgres will work best with prod code
<RockyTV>
question: how can I use virtualenv with python3?
<RockyTV>
I just tried `virtualenv .` but it used python2
<Thomas>
virtualenv -p python3 .
<RockyTV>
> Install coffeescript
<RockyTV>
using node or pip?
<Thomas>
node, the python wrapper is in requirements.txt
<RockyTV>
k
<RockyTV>
I hope python3 is enough for prod
<Thomas>
Every time I set up a prod mirror I had to do a google-marathon for packages, sadly
<RockyTV>
why?
<Thomas>
And I never wrote them down
<Thomas>
because some pip packages need deb packages
<Thomas>
and I always had to figure out which ones :D
<RockyTV>
another question: why Ubuntu for dev?
<RockyTV>
like, why not debian? :P
<Thomas>
laziness, I suppose
<Thomas>
(VITAS and I are both ubuntu guys iirc)
<VITAS>
i used to run debian as server os but the packes are simply to outdated
<VITAS>
so i switched to lts
<Thomas>
Generally, I always had the impression that while in debian and ubuntu the commands are the same, you have to fight debian way more if you want it to do what you want
<Thomas>
(i.e. backports and whatnot)
<RockyTV>
just use stretch
<RockyTV>
it's almost stable, iirc
<RockyTV>
hm, I ned help setting up the prod db
<RockyTV>
s/ned/need
<Qboid>
RockyTV meant to say: hm, I need help setting up the prod db
<RockyTV>
trying to switch to postgres user to create the db, but it asks for a password
<Thomas>
sudo -u postgres <psql command> -- always worked for me
<RockyTV>
hm, the spacedock user doesn't exist
<RockyTV>
RIP: kombu.exceptions.OperationalError: Error -2 connecting to redis:6379. Name or service not known.
<RockyTV>
ok so db is created, it's all setup
<RockyTV>
just need to fix that little isuse
<RockyTV>
s/isuse/issue
<Qboid>
RockyTV meant to say: just need to fix that little issue
<Thomas>
Hmm, redis is running
<Thomas>
Oh wait
<Thomas>
Yeah, someone fucked up the config file with docker stuff
<Thomas>
needs to be localhost:6379
<Thomas>
not redis:6379
<RockyTV>
how do I activate my user and set it as admin?
<Thomas>
There should be an example in the readme
<Thomas>
basically, it is user.confirmation = None and user.admin = True
<RockyTV>
ah right
<RockyTV>
the frontend for creating a game/publisher is bugged
<RockyTV>
it redirects me to /asdf
<Thomas>
Because the whole dammn frontend is bugged
<Thomas>
VITAS has a tool to scrape some game database into the spacedock database so noone ever needed the route