OperationCode / operationcode_backend

This is the backend repo for the Operation Code website
https://operationcode.org
MIT License
62 stars 110 forks source link

Create native setup instructions #361

Closed aamarill closed 6 years ago

aamarill commented 6 years ago

Description of changes

Create native setup instructions to help new users get started easily and quickly.

Issue Resolved

Fixes #278

aamarill commented 6 years ago

Created the PR with the hopes of receiving some feedback and advice on my current plan and issues. Specifically, I am currently stuck when I run rake db:seed. I'll be troubleshooting this tomorrow and uploading screenshots if I cannot resolve it. 😄

nagano564 commented 6 years ago

@aamarill the command to run for seeding in our docker file is make db_seed You can find all the commands in the Make file

aamarill commented 6 years ago

Ok, I think the setup process could be streamlined. But, the instructions now contain all of the steps necessary to get started. The only step that needs to be sorted out is seeding the database.

When I run

$ bin/rake db:seed

When executing this line: https://github.com/OperationCode/operationcode_backend/blob/5513e7ef3183437ed5b03329af5aac456f730ad2/db/seeds.rb#L18

I get the following error:

screen shot 2018-05-25 at 12 31 21 pm
hpjaj commented 6 years ago

@aamarill - Yeah, Redis needs to be running locally, as well. Can you pls add instructions to install/setup Redis. And instructions to have redis running in a separate tab.

hpjaj commented 6 years ago

@aamarill - BTW, here is a really good, maintained, resource for setting up rails locally:

https://gorails.com/setup/osx/10.13-high-sierra

It would be great if we could somehow incorporate this, with references unique to our setup (i.e. our ruby version, rails version, database type, etc.)

aamarill commented 6 years ago

@hpjaj I apologize for the delay on this! If you see someone else looking for work, please have them give me a hand with this. I don't think I am going to have too much spare time in the coming weeks 😓

apex-omontgomery commented 6 years ago

Going to merge this and work on it a little bit.