{"id":23291026,"url":"https://github.com/jplusplus/v1.jplusplus.org","last_synced_at":"2025-08-21T22:32:00.913Z","repository":{"id":6387564,"uuid":"7625242","full_name":"jplusplus/v1.jplusplus.org","owner":"jplusplus","description":"Journalism++ corporate website. (No in active use; Replaced in 2017)","archived":false,"fork":false,"pushed_at":"2014-04-16T13:03:12.000Z","size":50426,"stargazers_count":1,"open_issues_count":2,"forks_count":5,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-04-14T04:55:28.703Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://jplusplus.org","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/jplusplus.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}},"created_at":"2013-01-15T13:26:42.000Z","updated_at":"2018-01-05T12:53:09.000Z","dependencies_parsed_at":"2022-07-26T06:02:03.652Z","dependency_job_id":null,"html_url":"https://github.com/jplusplus/v1.jplusplus.org","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jplusplus%2Fv1.jplusplus.org","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jplusplus%2Fv1.jplusplus.org/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jplusplus%2Fv1.jplusplus.org/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jplusplus%2Fv1.jplusplus.org/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jplusplus","download_url":"https://codeload.github.com/jplusplus/v1.jplusplus.org/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230537085,"owners_count":18241519,"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-12-20T05:13:54.627Z","updated_at":"2024-12-20T05:13:55.151Z","avatar_url":"https://github.com/jplusplus.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Journalism++\n\n## How to add posts and pages\nPages and posts can be found in the `content` folder. \n\n### About posts\nPost will be added to the main page carroussel if the subdomain is included into \nthe posts meta (see #post meta) \n\n#### Post meta\n```js\n{\n  \"title\": {\n    \"en\":\"Your post title in english\",\n    \"fr\":\"Votre titre en français\",\n    // etc...\n  },\n  \"thumbnail\": \"\u003cthe image to display into the carroussel\u003e\",\n  \"tags\": [\"an\", \"array\", \"of\", \"tags\"],\n  // will show the post on the given subdomains\n  \"domains\": [\"paris\", \"berlin\", \"amsterdam\"],\n  // (optional) if you want to disable the post set this key to true\n  \"disabled\":true \n  // (optional) extra infos, not used\n  \"author\": \"@Pirhoo\",\n  \"version\": 2.0.1\n\n}\n```\n\n## Installation\n### Software dependencies\nTo make the project up and running, you need:\n\n* **Node** 0.8.19\n* **NPM** 1.1.32\n\n### Step 1: Download the dependencies\nThe app is build at the top of the pleasant [Node Package Manager](http://npmjs.org/). To download and set up the whole dependancies three, simply run from the project's root directory :\n\n    $ npm install\n\n### Step 2: Edit the configuration\n#### Use configuration file\nThe default configuration is present into *config/default.json*. Every modifications in this file will be commited. The *runtime.json* file is an auto-generated file that you shouldn't edit.\n\n* **Development mode**: If you want to overide default values, you have to create a file named *config/development.json* and corresponding to your local configuration. This file will be ignored by git. \n* **Production mode**: if you want to overide default values, you have to edit the *config/production.json* file to fit with your production environment. This file will be ignored by git.\n\n#### Alternative: use environment variables\nThe following environment variables can be use with the highest priority :\n\n* **PORT** defines the port to listen to (ex: *80*);\n* **NODE_ENV** defines the runtime mode that affects the configuration (ex: *development*, *production*, etc).\n\n### Step 3: Add subdomains\nIf you want to see the chapter's sites, you need dedicated subdomains.\nFor local development, add for instance this line to your `/etc/hosts` file.\n\n```\n127.0.0.1       porto.jplusplus.dev\n```\n\nSubdomain should be in this switch case : https://github.com/jplusplus/jplusplus.org/blob/master/controllers/index.coffee#L27\n\nThen you can request the page [porto.jplusplus.dev:3000](http://porto.jplusplus.dev:3000)\n\n### Step 4: Run!\nTo launch the application enter the following command: \n\n    $ coffee app.coffee\n\nYour application is now available from [localhost:3000](http://localhost:3000)!\n\n## GNU General Public License\nThis software is the property of [Journalism++](http://jplusplus.org) and licensed under the [GNU Genral Public License](https://www.gnu.org/licenses/gpl-3.0.txt).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjplusplus%2Fv1.jplusplus.org","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjplusplus%2Fv1.jplusplus.org","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjplusplus%2Fv1.jplusplus.org/lists"}