{"id":21424036,"url":"https://github.com/yeah568/trove","last_synced_at":"2025-03-16T20:41:52.093Z","repository":{"id":31725394,"uuid":"35291279","full_name":"yeah568/trove","owner":"yeah568","description":null,"archived":false,"fork":false,"pushed_at":"2015-09-03T18:22:07.000Z","size":59496,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T07:13:27.612Z","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/yeah568.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":"2015-05-08T17:00:38.000Z","updated_at":"2015-05-10T07:34:27.000Z","dependencies_parsed_at":"2022-09-10T09:40:15.371Z","dependency_job_id":null,"html_url":"https://github.com/yeah568/trove","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/yeah568%2Ftrove","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeah568%2Ftrove/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeah568%2Ftrove/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeah568%2Ftrove/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yeah568","download_url":"https://codeload.github.com/yeah568/trove/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243933374,"owners_count":20370988,"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-22T21:19:22.649Z","updated_at":"2025-03-16T20:41:52.026Z","avatar_url":"https://github.com/yeah568.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Trove\n\n## Setup\n* Run ```npm install```\n* Ensure a MongoDB database is available for use. Either install MongoDB on the server locally, or use a hosted services such as [Compose](https://compose.io) or [MongoLab](https://mongolab.com/).\n* Supply the MongoDB URI in the config/config.js file, under the appropriate environment. Make sure your environment variables are set up to the right one. While the config file already contains a sample database, it is _strongly_ recommended that you do not use this for production, as the credentials have been on a public repo.\n* Change the port to whatever is needed - either port 80 if it is the only thing running on this server, or another port, and use something like Nginx reverse proxying to route traffic to this.\n* Ensure config/admin.htpasswd exists. The username/password in this file is used to log in to the admin panel.\n* Use ```npm start``` to start the app. Something like [forever](https://www.npmjs.com/package/forever) will help ensure it's always up.\n\n__Note__: While this will run and compile on Heroku, image uploads will __NOT__ work. This is due to a limitation with Heroku having read-only settings for their dynos, and would require a separate image host.\n\n\n## Usage\n### Add a User\n* Navigate to /admin\n* Create a new user with either a custom name, or click \"Generate a User ID\" to have one randomly generated. Click \"Add\" to save it.\n* Give this user ID to the participant, along with a link to the main site.\n* The user then enters this ID into the login box, and begins.\n\n### Add a Round\n* Login to the admin panel, and use the dropdown under the \"Rounds\" panel, labelled \"Add a round\". Fill in the fields and click save.\n* To delete a round, click the red trash can next to the round you wish to delete.\n* Ensure that there are no gaps in the round numbering, and that round numbers start at 1.\n\n### Change Completion Screen or Consent Screen Text\n* Login to the admin panel, and use the \"Consent/Completion Screen Text\" panel to change the text shown on these screens.\n\n### Change Admin Password\n* The default admin account has the username \"admin\" and the password \"admin\".\n* To change this, navigate to the admin panel, and scroll to the bottom panel titled \"Admin Account\". Enter a new username or password, and click save.\n* Login again to be able to access the admin panel.\n* There is only one admin account in this system.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyeah568%2Ftrove","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyeah568%2Ftrove","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyeah568%2Ftrove/lists"}