{"id":16880618,"url":"https://github.com/squaremo/micro-wiki","last_synced_at":"2026-04-12T22:48:42.030Z","repository":{"id":66130733,"uuid":"42061391","full_name":"squaremo/micro-wiki","owner":"squaremo","description":"Motivating example for flux -- abandoned now","archived":false,"fork":false,"pushed_at":"2016-01-11T12:46:02.000Z","size":676,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-20T03:39:06.450Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/squaremo.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-09-07T15:45:34.000Z","updated_at":"2016-02-03T12:43:12.000Z","dependencies_parsed_at":"2023-02-24T08:00:19.980Z","dependency_job_id":null,"html_url":"https://github.com/squaremo/micro-wiki","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/squaremo/micro-wiki","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squaremo%2Fmicro-wiki","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squaremo%2Fmicro-wiki/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squaremo%2Fmicro-wiki/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squaremo%2Fmicro-wiki/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/squaremo","download_url":"https://codeload.github.com/squaremo/micro-wiki/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squaremo%2Fmicro-wiki/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265488672,"owners_count":23775154,"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-13T15:59:32.328Z","updated_at":"2026-04-12T22:48:36.994Z","avatar_url":"https://github.com/squaremo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Microservice-based wiki\n\nCreate some hosts:\n\n    $ docker-machine create -d virtualbox micro-wiki-1\n    $ docker-machine create -d virtualbox micro-wiki-2\n\nMake sure a [recent weave script][weave-script] is on your path, and\n*for each host* enlist the host in the weave network, supplying an IP\naddress for each of the hosts. Since I used `docker-machine` to create\nthe hosts, I switch between them with `docker-machine env`:\n\n    $ hosts=\"$(docker-machine ip micro-wiki-1 micro-wiki-2)\"\n    $ eval $(docker-machine env micro-wiki-1)\n    $ ./microwikictl enlist-host $hosts\n    $ eval $(docker-machine env micro-wiki-2)\n    $ ./microwikictl enlist-host $hosts\n\nOn one host, start the infrastructural services (etcd, prometheus, and\na dashboard):\n\n    $ eval $(docker-machine env micro-wiki-1)\n    $ ./microwikictl start-infra\n\nOn one or more hosts, bring all the services up:\n\n    $ ./microwikictl up\n\nThe web interface is port-mapped to 8080 on the docker host; the\nPrometheus interface is port-mapped to 9090; and the dashboard is\nport-mapped to 3000.\n\nRun the load generator:\n\n    $ ./microwikictl load\n\nYou can rebuild and restart a service:\n\n    $ make -C preso\n    $ ./microservice restart preso\n\n[weave-script]: https://github.com/weaveworks/weave/releases/download/latest_release/weave\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquaremo%2Fmicro-wiki","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsquaremo%2Fmicro-wiki","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquaremo%2Fmicro-wiki/lists"}