doner-kebard / card-game-backend

Backend for Döner Kebard's first (yet unnamed) card game
MIT License
1 stars 0 forks source link

Deploy to the server automatically from master #6

Open Masclins opened 6 years ago

Masclins commented 6 years ago

Description of the wanted situation We need the code from master to be automatically deployed to the server whenever a commit is done there.

Considered alternatives Doing so manually. It would save time and ensure that the server is running the latest version.

kenan-rhoton commented 6 years ago

For me, this issue is the necessary one before we can merge develop into master and consider tagging a release.

Im nudging it up to Major because of that.

Masclins commented 5 years ago

Do we have a server so this can be done?

kenan-rhoton commented 5 years ago

We don't currently have a server, no, what options are we willing to try?

Masclins commented 5 years ago

Any that costs me less than 20€/year (I'm assuming we would split the costs that might exist)

kenan-rhoton commented 5 years ago

There are four options, i think:

  1. Self-hosting on a machine we buy (which could be a cheap Raspberry)
  2. Getting some typical hosting service (like OVH, GoDaddy or whatever kids use these days)
  3. Amazon/Google/Azure type hosting
  4. Going full into functional territory like we tried with AWS Lambda

In my opinion option 1 is a big hassle (especially if something breaks), and option 4 is very very cool but also not as simple to setup as we would like (especially for automatic deploys).

I would rank them as 4 > 3 > 2 > 1 in order of "correctness" and as 2 > 3 > 1 > 4 in terms of "how easy it is to set up".

In terms of price it's probably 4 > 2 > 1 > 3 from cheapest to most expensive. (although after a few years number 1 becomes the cheapest unless this project explodes into a million users and forces us to go for number 4)