ContextualCamouflage / contextual-camouflage

Erasing the Stigma Around Mental Illness
https://contextual-camouflage.herokuapp.com/installations/1
5 stars 1 forks source link

Contributor Documentation #98

Open juliusdelta opened 6 years ago

juliusdelta commented 6 years ago

I found the project after the RailsConf talk about it. My nephew is autistic so the project really made an impact on me so I thought I'd contribute.

It seems like there's some documentation needs.

My thought is to add a CONTRIBUTING.md file. A couple other things I noticed missing from the read me are project setup instructions & versions of various parts of the stack. I'd also recommend adding a .ruby-version file. If you're cool with any of this and/or have any thoughts let me know and I can submit a PR for some of this.

Todos:

regularlady commented 6 years ago

@juliusdelta excellent, excellent idea. I definitely want to tackle this. I would be happy to have you review.

wolffles commented 5 years ago

I tried to set up locally, it broke at: "step 4: bundle exec rake db:setup"

could not connect to server: Connection refused
    Is the server running on host "localhost" (::1) and accepting
    TCP/IP connections on port 5432?
could not connect to server: Connection refused
    Is the server running on host "localhost" (127.0.0.1) and accepting
    TCP/IP connections on port 5432?
Couldn't create database for {"adapter"=>"postgresql", "pool"=>5, "timeout"=>5000, "host"=>"localhost", "database"=>"cc-dev"}
rake aborted!
PG::ConnectionBad: could not connect to server: Connection refused
    Is the server running on host "localhost" (::1) and accepting
    TCP/IP connections on port 5432?
could not connect to server: Connection refused
    Is the server running on host "localhost" (127.0.0.1) and accepting
    TCP/IP connections on port 5432?
....
regularlady commented 5 years ago

@wolffles This error means that you do not have PostgresQL running on your machine. Here is a guide on how to set it up on Mac.

https://www.moncefbelyamani.com/how-to-install-postgresql-on-a-mac-with-homebrew-and-lunchy/

wolffles commented 5 years ago

@wonderwoman13 in step 6, is there an extra step like creating self-signed SSL certificate or does that start command cover that for me? I get SSL errors from the server when going to localhost.

2018-11-25 13:14:53 -0800: SSL error, peer: ::1, peer cert: , #<Puma::MiniSSL::SSLError: OpenSSL error: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request - 336027804>
regularlady commented 5 years ago

That command will fix it for you but you must update the string with the location of the project on your own machine.

On Nov 25, 2018, at 2:06 PM, Wolfgang Truong notifications@github.com wrote:

@wonderwoman13 in step 6, is there an extra step like creating self-signed SSL certificate or does that start command cover that for me? I get SSL errors from the server when going to localhost.

2018-11-25 13:14:53 -0800: SSL error, peer: ::1, peer cert: , #<Puma::MiniSSL::SSLError: OpenSSL error: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request - 336027804> — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

wolffles commented 5 years ago

I've tried using both absolute and relative path, server starts fine but doesn't send data.

regularlady commented 5 years ago

Does the app load in the browser? Are you using https://localhost:3000?

On Mon, Nov 26, 2018 at 12:14 PM Wolfgang Truong notifications@github.com wrote:

I've tried using both absolute and relative path, server starts fine but doesn't send data.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ContextualCamouflage/contextual-camouflage/issues/98#issuecomment-441781958, or mute the thread https://github.com/notifications/unsubscribe-auth/ACVUu5DaYzWbohEmczkuX9A5FyMk4VBdks5uzEuugaJpZM4Tc18L .

-- Brittany Martin about.me/brittany.martin sfviapgh.com

wolffles commented 5 years ago

Oh I just had to click continue to site in the browser, I wasn't sure if i was doing it right cuz it was a giant warning sign saying it wasn't a trusted site. now its working.

On Mon, Nov 26, 2018 at 12:58 PM Brittany Martin notifications@github.com wrote:

Does the app load in the browser? Are you using https://localhost:3000?

On Mon, Nov 26, 2018 at 12:14 PM Wolfgang Truong <notifications@github.com

wrote:

I've tried using both absolute and relative path, server starts fine but doesn't send data.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/ContextualCamouflage/contextual-camouflage/issues/98#issuecomment-441781958 , or mute the thread < https://github.com/notifications/unsubscribe-auth/ACVUu5DaYzWbohEmczkuX9A5FyMk4VBdks5uzEuugaJpZM4Tc18L

.

-- Brittany Martin about.me/brittany.martin sfviapgh.com

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ContextualCamouflage/contextual-camouflage/issues/98#issuecomment-441795528, or mute the thread https://github.com/notifications/unsubscribe-auth/AINkUwWD6LYzEpB8mUwlbHbx50zfD8s1ks5uzFXxgaJpZM4Tc18L .

regularlady commented 5 years ago

Awesome. All of this is great feedback!

On Mon, Nov 26, 2018 at 5:00 PM Wolfgang Truong notifications@github.com wrote:

Oh I just had to click continue to site in the browser, I wasn't sure if i was doing it right cuz it was a giant warning sign saying it wasn't a trusted site. now its working.

On Mon, Nov 26, 2018 at 12:58 PM Brittany Martin <notifications@github.com

wrote:

Does the app load in the browser? Are you using https://localhost:3000?

On Mon, Nov 26, 2018 at 12:14 PM Wolfgang Truong < notifications@github.com

wrote:

I've tried using both absolute and relative path, server starts fine but doesn't send data.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <

https://github.com/ContextualCamouflage/contextual-camouflage/issues/98#issuecomment-441781958

, or mute the thread <

https://github.com/notifications/unsubscribe-auth/ACVUu5DaYzWbohEmczkuX9A5FyMk4VBdks5uzEuugaJpZM4Tc18L

.

-- Brittany Martin about.me/brittany.martin sfviapgh.com

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/ContextualCamouflage/contextual-camouflage/issues/98#issuecomment-441795528 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AINkUwWD6LYzEpB8mUwlbHbx50zfD8s1ks5uzFXxgaJpZM4Tc18L

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ContextualCamouflage/contextual-camouflage/issues/98#issuecomment-441857830, or mute the thread https://github.com/notifications/unsubscribe-auth/ACVUu8ca0ijsm3XOnhXGPaOjVpQ3OzTNks5uzI7GgaJpZM4Tc18L .

-- Brittany Martin about.me/brittany.martin sfviapgh.com