{"id":17187500,"url":"https://github.com/davidmchan/asch","last_synced_at":"2025-03-25T03:54:42.017Z","repository":{"id":37082671,"uuid":"363981367","full_name":"DavidMChan/asch","owner":"DavidMChan","description":"Experimental Toolkit for Online Psychology Studies in Unity","archived":false,"fork":false,"pushed_at":"2024-06-14T21:56:28.000Z","size":26914,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-30T04:27:38.338Z","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/DavidMChan.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":"2021-05-03T15:48:49.000Z","updated_at":"2024-06-14T21:56:32.000Z","dependencies_parsed_at":"2024-12-02T18:57:38.096Z","dependency_job_id":null,"html_url":"https://github.com/DavidMChan/asch","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/DavidMChan%2Fasch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidMChan%2Fasch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidMChan%2Fasch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidMChan%2Fasch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DavidMChan","download_url":"https://codeload.github.com/DavidMChan/asch/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245394770,"owners_count":20608123,"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-15T01:06:32.751Z","updated_at":"2025-03-25T03:54:41.999Z","avatar_url":"https://github.com/DavidMChan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Asch Experimental Tookit\n\nThis is an experimental toolkit for running psychology experiments in unity over the web.\n\n# Running this application\n\nThe following steps show how to run the application on any device.\n\n## 1: Creating a Database\n\nThis application needs a MongoDB database to function. The easiest way to get a database is to create one with MongoDB's\nfree [atlas service](https://www.mongodb.com/atlas/database). Once you create a database (and configure access) you will\nget a connection string of the form \"mongodb+srv://\u003cusername\u003e:\u003cpassword\u003e@\u003csomething\u003e.\u003csomething\u003e.mongodb.net/?retryWrites=true\".\n\n## 2: Build the docker file\n\nMake sure you have [docker](https://docs.docker.com/get-docker/) installed on your machine. You can build the docker file\nwith `docker build . -t asch:latest`. This may take some time (as there are a lot of dependencies to install), but should\nbe a relatively automated process.\n\n## 3: Run the docker container\n\nTo run the application locally, you can use the following bash command:\n\n```bash\ndocker run -p 8080:8080 -e ASCH_DATABASE_CONNECTION_STRING=\"\u003cyour connection string\u003e\" -e ASCH_FLASK_SECRET_KEY=\"\u003ca secret key\u003e\" asch:latest\n```\n\nThe server will now be running at `http://localhost:8080`.\n\n# Creating a new game\n\nTo create a new game, you need several things:\n\n-   A unity game, which is built, and placed in the \"games\" directory\n-   An experiment file, placed in `asch/server/experiments` which describes the exeperiment.\n\n## Building an integrated unity game\n\n[Coming Soon]\n\n## Building an experiment file\n\n[Coming Soon]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidmchan%2Fasch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidmchan%2Fasch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidmchan%2Fasch/lists"}