{"id":19264269,"url":"https://github.com/cphyc/easy_poll","last_synced_at":"2025-09-10T23:32:35.162Z","repository":{"id":74150433,"uuid":"49561214","full_name":"cphyc/easy_poll","owner":"cphyc","description":"A polling web service for professors ","archived":false,"fork":false,"pushed_at":"2021-05-03T11:59:33.000Z","size":237,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-09T19:46:41.055Z","etag":null,"topics":["enseignement","interactive","poll","professor","student-management","students"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cphyc.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-01-13T08:44:36.000Z","updated_at":"2020-07-30T12:32:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"e2b5c1cd-9c94-47a7-922c-cbcd3a489e8f","html_url":"https://github.com/cphyc/easy_poll","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/cphyc%2Feasy_poll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cphyc%2Feasy_poll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cphyc%2Feasy_poll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cphyc%2Feasy_poll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cphyc","download_url":"https://codeload.github.com/cphyc/easy_poll/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232575869,"owners_count":18544526,"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":["enseignement","interactive","poll","professor","student-management","students"],"created_at":"2024-11-09T19:40:33.492Z","updated_at":"2025-01-05T10:44:23.110Z","avatar_url":"https://github.com/cphyc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# easy_poll\nA polling web service for professors.\n\nThis tool let professors create interactively nice polls, export and view the results.\n\n## Features:\n* Easy-to-use front-end\n* Export results as .csv files (compatible with Excel, LibreOffice Calc, …)\n* Administrator accounts, student accounts\n* Prevent students from answering twice\n*\n\n## Requirements:\nYou need to install Node.js v8 or above (see https://nodejs.org/) and mongodb (see https://www.mongodb.org/) as well as a python2 distribution (https://python.org)\n\n**Optional**: install git (https://git-scm.com/).\n\n## Install (Linux, command line users)\nFirst, get a copy of the software:\n\n```bash\n# Go to the directory where you want to install it\ncd /path/to/install/directory\n\n# Get a copy of the software\ngit clone https://github.com/cphyc/easy_poll.git\n\n# if you don't have git, you can do the three following steps:\nwget https://github.com/cphyc/easy_poll/archive/master.zip\nunzip master.zip\nmv easy_poll-master easy_poll\n\n# Get into the newly installed directory\ncd easy_poll\n\n# Install dependencies automatically\nnpm install\n```\n\n## Install (other platform)\nThis has *not* been tested until now. Post a pull-request [here](https://github.com/cphyc/easy_poll/pulls).\n\n## Configure\nOpen the file `server/config/local.env.sample.js`.\n- Replace `DOMAIN`'s value (http://localhost:9000) by your domain name (for example: http://mydomain.com).\n- Replace `SESSION_SECRET` by some random value (for example [here](https://duckduckgo.com/?q=random+password\u0026ia=answer)).\n- If you want to enable login through google accounts, change `GOOGLE_ID` and `GOOGLE_SECRET` to match your google credentials.\n- Replace `ROOTS` by a comma-separated list of objects (objects are delimited by '{}') containing a name, a password and an optional email address.\n\n\n### Extra configurations\nYou can pass extra configurations to the server using environment variables. Here is a list of environment variables you can change:\n- `PORT` the port on which to serve (defaults to 9000)\n- `IP`: ip to accept connections froms (default to 0.0.0.0, serve only from local)\n- `GOOGLE_ID`: google login id (same as in previous paragraph)\n- `GOOGLE_SECRET`: google login secret key\n\n\n## Start the server\nIn the command line, go into the install directory and start the server:\n\n```bash\ncd /path/to/install/directory/easy_poll\n\n# Do this if you want to test\ngrunt serve\n# Do this if you want to use it\ngrunt serve:dist\n```\n\nThe server should start. You can then access it at \u003chttp://localhost:9000/\u003e.\n\n# Remarks\nIs is not advised to serve directly for the Internet. Instead, you'd rather serve it through a webserver (Apache, nginx). Here is a sample configuration for Apache with the application served on port 9000\n\n```apache\n\u003cVirtualHost *:80\u003e\n\tServerAdmin \u003cADMIN MAIL\u003e\n\tServerName \u003cURL OF THE SITE\u003e\n\n\tProxyPass / http://localhost:9000/\n\tProxyPassReverse / http://localhost:9000/\n\n\t#Logfiles\n\tErrorLog \u003cPATH/TO/ERROR/LOGS/errors.log\u003e\n\n\u003c/VirtualHost\u003e\n```\n\nYou can then access your site at `\u003cURL OF THE SITE\u003e`.\n\n# License\nThe program is provided under the GNU Lesser Leneral Public License. See the LICENSE file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcphyc%2Feasy_poll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcphyc%2Feasy_poll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcphyc%2Feasy_poll/lists"}