{"id":18039797,"url":"https://github.com/karesti/cm-voting","last_synced_at":"2025-03-27T11:32:17.269Z","repository":{"id":75887292,"uuid":"44819097","full_name":"karesti/cm-voting","owner":"karesti","description":"Go webapp built on Revel - Voting app for codemotion conf","archived":false,"fork":false,"pushed_at":"2016-04-17T18:02:51.000Z","size":718,"stargazers_count":6,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-08-07T11:03:57.129Z","etag":null,"topics":["docker","docker-image","go","golang","revel"],"latest_commit_sha":null,"homepage":"","language":"Go","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/karesti.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-10-23T14:44:57.000Z","updated_at":"2024-06-19T10:34:19.938Z","dependencies_parsed_at":"2023-07-11T23:45:44.898Z","dependency_job_id":null,"html_url":"https://github.com/karesti/cm-voting","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karesti%2Fcm-voting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karesti%2Fcm-voting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karesti%2Fcm-voting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karesti%2Fcm-voting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/karesti","download_url":"https://codeload.github.com/karesti/cm-voting/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245836337,"owners_count":20680359,"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":["docker","docker-image","go","golang","revel"],"created_at":"2024-10-30T14:41:46.129Z","updated_at":"2025-03-27T11:32:16.762Z","avatar_url":"https://github.com/karesti.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Welcome to Codemotion voting webapp !\n\nThis aplication is built with [Revel Web framework](https://revel.github.io), the [Golang](https://golang.org) webframework.\n\nInstall docker and run the app with the provided image.\n\n## Install and run Mongodb in a Docker Container\n\n```\ndocker pull mongo\n\ndocker run -i -t --name mongo_cmvoting -p 27017:27017 mongo\n```\n\nTo check if this is working go to the database console\n\n\n```\nmongo --host 192.168.99.100 (or localhost if you are not on using like me a docker-machine)`\n```\n\n\n## Install and run the web app in a Docker Container\n\n* Clone this project\n\n* Build the docker image from the cm-voting directory cloned from Github\n\n```\ncd cm-voting\n\ndocker build -t karesti/cm_voting .\n```\n\n* Run the docker image linking the already running MongoDB container\n\n```\ndocker run -i -t -p 9000:9000 --link mongo_cmvoting:mongo karesti/cm_voting\n```\n\nIf you are lazy :) you can execute buildAndRun.sh which will execute build image and run \n\n```\n./buildAndRun.sh\n```\n\nOr with docker-compose :\n\n```\ndocker-compose up\n```\n\n* Check if it works !\n\n```\nhttp://localhost:9000/\n```\n\nIf you are running on mac like me, you might be using Docker-Machine. Instead of using localhost, you must use the IP of your host which can be retrieved via : \n\n```\ndocker-machine ls\nperso    *        virtualbox   Running   tcp://192.168.99.100:2376\n```\n\nIn my case http://192.168.99.100:9000/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaresti%2Fcm-voting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaresti%2Fcm-voting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaresti%2Fcm-voting/lists"}