danielgrijalva / overworld-old

:video_game: Discover, discuss and track your video games.
https://overworld.netlify.com/
120 stars 80 forks source link

Add script to setup and run backend #145

Closed bingocaller closed 5 years ago

bingocaller commented 5 years ago

Hello there! I was trying to get the project up and running on macOS but I ran into some issues, so I thought I would build a little script to help myself and others.

Right now it's built with macOS and Homebrew in mind, but it could potentially be built out to support other OSes and package managers.


The script tries to determine if pg_config is available and offers to install it via Homebrew. Script then tries to determine which version of Python is the default. If default is Python 2 and Python 3 is available, the script will try to run commands using Python 3. If Python 3 isn't available it will offer to install it, again via Homebrew.

codecov[bot] commented 5 years ago

Codecov Report

Merging #145 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #145   +/-   ##
=======================================
  Coverage   55.77%   55.77%           
=======================================
  Files          89       89           
  Lines        1698     1698           
  Branches       91       91           
=======================================
  Hits          947      947           
  Misses        668      668           
  Partials       83       83

Continue to review full report at Codecov.

Legend - Click here to learn more Ξ” = absolute <relative> (impact), ΓΈ = not affected, ? = missing data Powered by Codecov. Last update a66845a...78219ac. Read the comment docs.

danielgrijalva commented 5 years ago

Hey @bingocaller sorry for the absence. This is great, thanks! would you mind adding a bit of documentation so that everyone knows about this script?

Let me know if you're willing to add that so I can give you access to GitBook.

bingocaller commented 5 years ago

@danielgrijalva Sure thing! Let me know when I have access and I can get started! πŸ™‚

danielgrijalva commented 5 years ago

@bingocaller just follow this link to join the organization. Please write on the Getting Started > Setup section (maybe below a "Troubleshooting" heading?) πŸ˜„

bingocaller commented 5 years ago

@danielgrijalva Okay, I added a draft in GitBook. Let me know what you think!

danielgrijalva commented 5 years ago

@bingocaller looks great! I'll merge this now. Thanks! ✨