{"id":18683615,"url":"https://github.com/scify/democracit-web","last_synced_at":"2025-04-12T04:31:48.264Z","repository":{"id":27178314,"uuid":"30648103","full_name":"scify/DemocracIT-Web","owner":"scify","description":null,"archived":false,"fork":false,"pushed_at":"2016-10-04T12:32:33.000Z","size":25731,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-26T00:04:36.443Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scify.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-11T13:08:30.000Z","updated_at":"2018-01-15T12:35:25.000Z","dependencies_parsed_at":"2022-09-06T20:02:38.781Z","dependency_job_id":null,"html_url":"https://github.com/scify/DemocracIT-Web","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scify%2FDemocracIT-Web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scify%2FDemocracIT-Web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scify%2FDemocracIT-Web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scify%2FDemocracIT-Web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scify","download_url":"https://codeload.github.com/scify/DemocracIT-Web/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248517193,"owners_count":21117411,"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-11-07T10:15:07.780Z","updated_at":"2025-04-12T04:31:43.241Z","avatar_url":"https://github.com/scify.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Public consultation platform\n\nDemocracit is a web application with the goal to improve the consultation process.\nCheck the demo below\nhttp://demo.democracit.org \u003cbr/\u003e\n\nAnd an instance of democracit targeted in the open consultation process in Greece\nhttp://www.democracit.org \u003cbr/\u003e\nhttp://www.scify.gr/site/en/projects/in-progress/democraciten\n\n## Roadmap/ Issues\n\nhttp://jira.scify.org/secure/RapidBoard.jspa?rapidView=9\u0026projectKey=DW\u0026view=planning\n\n## Setup instructions\n\n\n### Set up enviroment variables\n```\n$ sudo nano /etc/environment\n```\n\nAdd 3 database related properties\n```\n$ democracit_db_con_string=\"jdbc:postgresql://your-host-name-here/databaseNameHere\"\n$ democracit_db_user=\"db-username\"\n$ democracit_db_pw=\"db-password\"\n```\n\nAdd 4 social login related fields\n\n```\n$ FACEBOOK_CLIENT_ID=id goes here\n$ FACEBOOK_CLIENT_SECRET=secret goes here\n$ TWITTER_CONSUMER_KEY=key goes here\n$ TWITTER_CONSUMER_SECRET=secret goes here\n```\n\nAdd the play app secret (for production configuration - you can generate it by running activator playGenerateSecret command)\n\n```\n$ PLAY_APP_SECRET= secret goes here \n```\n\nAdd the email server settings\n\n```\n$ SMTP_HOST= smtp host goes here\n$  SMTP_PORT= smtp port goes here\n$  SMTP_USERNAME= smtp username goes here\n$ SMTP_PASS=smtp password goes here\n```\n\nAdd the language settings (e.g. \"en\" for English or \"el\" for Greek)\n```\n$ democracit_lang = \"en\"\n```\n### Set up the Sass/SCSS transpiler (webstorm and intellij)\n\nhttps://www.jetbrains.com/idea/help/transpiling-sass-less-and-scss-to-css.html#d532231e166\n\n\n### Set up the React/JSX transpiler (webstorm and intellij)\nhttp://babeljs.io/docs/setup/#webstorm\n\n### Set up the React/JSX transpiler (intellij 15)\nhttp://blog.jetbrains.com/webstorm/2015/05/ecmascript-6-in-webstorm-transpiling/\n\nIf you are using intellij you may have to go to  Tools \u003e File watchers and add Babel. In the watcher setting add a new scope with the pattern\nfile[root]:public/js/*.jsx\nIf you do not do this, Babel also parses the .js files since the file type is \"Javascript\" (there is no JSX file type in intellij)\nMake sure you specify the file type that the watcher will “watch” for you and run the program.\nIf you use some custom file extension, e.g. .es6 or .jsx, check that it’s associated with JavaScript file type in Preferences | Editor | File types\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscify%2Fdemocracit-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscify%2Fdemocracit-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscify%2Fdemocracit-web/lists"}