{"id":20390564,"url":"https://github.com/swlkr/bog","last_synced_at":"2026-05-12T19:11:13.940Z","repository":{"id":145295916,"uuid":"82503397","full_name":"swlkr/bog","owner":"swlkr","description":null,"archived":false,"fork":false,"pushed_at":"2017-02-20T01:22:07.000Z","size":157,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-15T10:08:27.551Z","etag":null,"topics":["clojurescript","figwheel"],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/swlkr.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":"2017-02-20T01:21:54.000Z","updated_at":"2017-02-21T22:17:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"719a5c1e-8a87-4db3-be8b-7fb034586e36","html_url":"https://github.com/swlkr/bog","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/swlkr%2Fbog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swlkr%2Fbog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swlkr%2Fbog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swlkr%2Fbog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swlkr","download_url":"https://codeload.github.com/swlkr/bog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241940579,"owners_count":20045883,"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":["clojurescript","figwheel"],"created_at":"2024-11-15T03:25:44.931Z","updated_at":"2026-05-12T19:11:08.914Z","avatar_url":"https://github.com/swlkr.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bog\n\n## Development\n\nOpen a terminal and type `lein repl` to start a Clojure REPL\n(interactive prompt).\n\nIn the REPL, type\n\n```clojure\n(run)\n(browser-repl)\n```\n\nThe call to `(run)` starts the Figwheel server at port 3449, which takes care of\nlive reloading ClojureScript code and CSS. Figwheel's server will also act as\nyour app server, so requests are correctly forwarded to the http-handler you\ndefine.\n\nRunning `(browser-repl)` starts the Figwheel ClojureScript REPL. Evaluating\nexpressions here will only work once you've loaded the page, so the browser can\nconnect to Figwheel.\n\nWhen you see the line `Successfully compiled \"resources/public/app.js\" in 21.36\nseconds.`, you're ready to go. Browse to `http://localhost:3449` and enjoy.\n\n**Attention: It is not needed to run `lein figwheel` separately. Instead we\nlaunch Figwheel directly from the REPL**\n\n## Testing\n\nTo run the Clojure tests, use\n\n``` shell\nlein test\n```\n\nTo run the Clojurescript you use [doo](https://github.com/bensu/doo). This can\nrun your tests against a variety of JavaScript implementations, but in the\nbrowser and \"headless\". For example, to test with PhantomJS, use\n\n``` shell\nlein doo phantom\n```\n\n## Deploying to Heroku\n\nThis assumes you have a\n[Heroku account](https://signup.heroku.com/dc), have installed the\n[Heroku toolbelt](https://toolbelt.heroku.com/), and have done a\n`heroku login` before.\n\n``` sh\ngit init\ngit add -A\ngit commit\nheroku create\ngit push heroku master:master\nheroku open\n```\n\n## Running with Foreman\n\nHeroku uses [Foreman](http://ddollar.github.io/foreman/) to run your\napp, which uses the `Procfile` in your repository to figure out which\nserver command to run. Heroku also compiles and runs your code with a\nLeiningen \"production\" profile, instead of \"dev\". To locally simulate\nwhat Heroku does you can do:\n\n``` sh\nlein with-profile -dev,+production uberjar \u0026\u0026 foreman start\n```\n\nNow your app is running at\n[http://localhost:5000](http://localhost:5000) in production mode.\n\n## License\n\nCopyright © 2016 swlkr\n\nDistributed under the Eclipse Public License either version 1.0 or (at\nyour option) any later version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswlkr%2Fbog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswlkr%2Fbog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswlkr%2Fbog/lists"}