laddr icon indicating copy to clipboard operation
laddr copied to clipboard

Projects / New Projects - Give option of importing Github README files into C4P project description

Open rmcmillen50 opened this issue 8 years ago • 5 comments

As as Code for Philly organizer, I want to make it easy as possible to create & maintain projects on cfp.org, so that project entries are kept fresh.

Providing project managers the opportunity to upload / actively link a previously written README or CONTRIBUTING file directly from GitHub into their project's code4philly.org readme.md section would reduce the admin overhead involved in keeping both places current/fresh.

rmcmillen50 avatar Jan 25 '17 01:01 rmcmillen50

@rmcmillen50 It looks like we have a markdown field that supports a readme field. I think we should go with the following solutions:

  • Detect Github url's in the "URL for Developers:" field on the project edit page
  • If detected, Show 'Sync README.md' -'Sync README.md' button pops up confirm window to overwrite current read me field -Ajax request to github fills in field

If you agree, I'll get started on this right away.

aharley40 avatar Mar 09 '17 13:03 aharley40

that sounds amazing @aharley40 !!

rmcmillen50 avatar Mar 09 '17 13:03 rmcmillen50

@rmcmillen50 Available for review at laddr2.harley.dev after you've added the following to your host file 138.197.115.229 >harley.dev. If you have your own laddr instance, the branch is issues/165.

aharley40 avatar Mar 26 '17 21:03 aharley40

Hi @aharley40 - I successfully added that link to my host file, but now I'm receiving a ERR_CONNECTION_REFUSED message. Any thoughts?

rmcmillen50 avatar Mar 28 '17 12:03 rmcmillen50

also, fyi - I've added the following to my host files and using a ping command I can see the laddr2.harley.dev is going to your IP address above.

138.197.115.229 harley.dev 138.197.115.229 laddr.harley.dev 138.197.115.229 laddr2.harley.dev

rmcmillen50 avatar Mar 28 '17 12:03 rmcmillen50