Blackmorse / hat-all-stats

new alltid
11 stars 4 forks source link

Development setup #196

Closed toniperic closed 3 years ago

toniperic commented 4 years ago

It would be great if there was documented how to run the project locally.

I'd like to toy around and contribute more eventually, but I'd rather not install any of the dependencies on my host machine, so I'm hoping there would be a containerized development setup, possibly using Docker?

Blackmorse commented 4 years ago

@toniperic . To build application you need java (for the loader), scala (for the web). Also you need a ClickHouse database. For java you will need build tools gradle and maven, and sbt for scala. Clickhouse can be installed at docker. But I'm not sure that docker is good choice for other stuff. Is It ok for you?

If yes, I will prepare and write instructions .

toniperic commented 4 years ago

Yes, that would work.

Don't forget to specify exact versions of all the tooling/languages. :)

Blackmorse commented 4 years ago

@toniperic Ok, I'm working on it. Also, what you will need for working - It is OAuth credentials: consumer key, secret and tokens. I have them, but by term of usage and by security reasons I can't share It with you. So, I think we should work on It together. I've added you to the contributers of CHHP app at Hattrick. Can you please check your Hattrick's CHPP page?

toniperic commented 4 years ago

Yeah, it's there. 👍

Blackmorse commented 4 years ago

@toniperic So you can start process of getting credentials. For me it takes some time..

Blackmorse commented 4 years ago

@toniperic I've pushed some instructions for running the app. Please check it. I will modify it according with you remarks

Blackmorse commented 3 years ago

Now docker-compose is available