{"id":15482042,"url":"https://github.com/code-matt/pluralsight_cc","last_synced_at":"2025-03-28T14:33:26.630Z","repository":{"id":74838124,"uuid":"78957285","full_name":"code-matt/Pluralsight_CC","owner":"code-matt","description":null,"archived":false,"fork":false,"pushed_at":"2017-01-18T09:41:17.000Z","size":1054,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-19T05:21:06.792Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/code-matt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-14T18:08:35.000Z","updated_at":"2017-01-17T18:42:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"2b6eccd8-a506-4f40-9932-70bca640568e","html_url":"https://github.com/code-matt/Pluralsight_CC","commit_stats":{"total_commits":56,"total_committers":1,"mean_commits":56.0,"dds":0.0,"last_synced_commit":"a1d22911e0801e5cb8f7cada635af9c567a912fc"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-matt%2FPluralsight_CC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-matt%2FPluralsight_CC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-matt%2FPluralsight_CC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-matt%2FPluralsight_CC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/code-matt","download_url":"https://codeload.github.com/code-matt/Pluralsight_CC/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246046588,"owners_count":20715004,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T05:07:26.135Z","updated_at":"2025-03-28T14:33:26.598Z","avatar_url":"https://github.com/code-matt.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# https://pluralsight-cc.herokuapp.com\n\n## Pluralsight Code Challenge Simple Question App\n* Redux\n* React\n* Rails5 in API mode\n\n### Prerequisites\n* PostgreSQL - http://exponential.io/blog/2015/02/21/install-postgresql-on-mac-os-x-via-brew/\n* Node.js and NPM - http://blog.teamtreehouse.com/install-node-js-npm-mac\n* Rails5/bundler - http://railsapps.github.io/installrubyonrails-mac.html\n\n### Install instructions\n* Create a .env file in client folder and put the following in it. Replace\nthe PROD host with your own. \n```\nREACT_APP_DEV_HOST='http://localhost:3000'\nREACT_APP_PROD_HOST='https://pluralsight-cc.herokuapp.com'\n```\n* If you cannot get rails5/bundler setup.. just go ahead and set the DEV\nhost to heroku as well so you can preview the app.\n\n* You only need to do the bundle/create/migrate/seed steps once.\n\n##### Prod:\n```\nbundle install\nrails db:create\nrails db:migrate\nrails db:seed (this will take a while)\ncd client\nnpm install\nnpm run build\nrails s\nvisit localhost:3000\n```\n\n###### Dev:\n* It's important that you start rails first so create_react_app asks if you\nwant to start on port 3001 instead.  \n```\nTab1:\nbundle install\nrails db:create\nrails db:migrate\nrails db:seed (this will take a while)\nrails s\nTab2:\ncd client\nnpm install\nnpm start\nvisit localhost:3001\n```\n\n###### Cant get rails going?:\nFollow the instructions mentioned above about what to set your DEV host to \nin the .env file that you need to create. \n```\ncd client\nnpm install\nnpm start\nvisit localhost:3000\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-matt%2Fpluralsight_cc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-matt%2Fpluralsight_cc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-matt%2Fpluralsight_cc/lists"}