{"id":24513289,"url":"https://github.com/allofphysicsgraph/ui_v7_website_flask_json","last_synced_at":"2026-05-11T02:50:26.985Z","repository":{"id":271325986,"uuid":"805747942","full_name":"allofphysicsgraph/ui_v7_website_flask_json","owner":"allofphysicsgraph","description":"version 7 of the Physics Derivation Graph UI: a flask-based website with JSON backend","archived":false,"fork":false,"pushed_at":"2025-01-07T02:19:55.000Z","size":11214,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"gh-pages","last_synced_at":"2025-01-22T00:53:52.442Z","etag":null,"topics":["flask","graph","json","knowledge-graph","physics","python","python3"],"latest_commit_sha":null,"homepage":"https://allofphysics.com","language":"HTML","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/allofphysicsgraph.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","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},"funding":{"github":"bhpayne"}},"created_at":"2024-05-25T10:52:06.000Z","updated_at":"2025-01-07T02:19:59.000Z","dependencies_parsed_at":"2025-01-07T03:43:23.677Z","dependency_job_id":null,"html_url":"https://github.com/allofphysicsgraph/ui_v7_website_flask_json","commit_stats":null,"previous_names":["allofphysicsgraph/ui_v7_website_flask_json"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allofphysicsgraph%2Fui_v7_website_flask_json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allofphysicsgraph%2Fui_v7_website_flask_json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allofphysicsgraph%2Fui_v7_website_flask_json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allofphysicsgraph%2Fui_v7_website_flask_json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/allofphysicsgraph","download_url":"https://codeload.github.com/allofphysicsgraph/ui_v7_website_flask_json/tar.gz/refs/heads/gh-pages","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243714774,"owners_count":20335808,"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":["flask","graph","json","knowledge-graph","physics","python","python3"],"created_at":"2025-01-22T00:54:15.114Z","updated_at":"2026-05-11T02:50:26.980Z","avatar_url":"https://github.com/allofphysicsgraph.png","language":"HTML","funding_links":["https://github.com/sponsors/bhpayne"],"categories":[],"sub_categories":[],"readme":"\nThis repo is the source code for the website \u003chttps://allofphysics.com\u003e, aka \u003chttps://derivationmap.net/\u003e.\nSee [developer documentation](https://derivationmap.net/developer_documentation?referrer=github_README) after reading the [user documentation](https://derivationmap.net/user_documentation)\n\n\n\n# Files not in this repo\nYou won't be able to immediately use the code because there are four files which you need to create associated with SSL certificates:\n * `certs/dhparam.pem`\n * `certs/fullchain.pem`\n * `certs/privkey.pem`\n * `.env`\n\nHow to generate those files depends on whether you're running a website locally or on the Internet.\n\n## local webpage server\n\nIf you are on a local computer then see `certs/README.md` for instructions on generating local certificates.\n\nThe `.env` file contains three lines,\n```bash\nGOOGLE_CLIENT_ID=\nGOOGLE_CLIENT_SECRET=\nSECRET_KEY=\n```\nIf you are on a local computer then you can set the values to be random strings.\n\n## web server on the Internet\n\nIf you are putting a webpage on the Internet then `certs/*.pem` are generated by [Let's Encrypt](https://letsencrypt.org/). \nSee \u003chttps://physicsderivationgraph.blogspot.com/2021/10/periodic-renewal-of-https-letsencrypt.html\u003e\n\nThe `.env` file contains three lines,\n```bash\nGOOGLE_CLIENT_ID=\nGOOGLE_CLIENT_SECRET=\nSECRET_KEY=\n```\nIf you are putting a webpage on the Internet then the string values come from  Google Cloud Console under \"APIs \u0026 Services\" \u003e \"Credentials\" by creating a \"Web application\" type client.\n\n# How to use (for the impatient)\n\nFor Docker installation see \u003chttps://docs.docker.com/desktop/install\u003e\n\nAssuming you already have `git` and `docker` available, \n\n## First time here? Get started with\n```bash\ngit clone https://github.com/allofphysicsgraph/ui_v7_website_flask_json.git\n```\nIf running locally,\n```bash\ncd ui_v7_website_flask_json/flask/\nmake docker_build\ncd ..\nmake launch_webserver_interactive \n```\n\nSee [developer documentation](https://derivationmap.net/developer_documentation?referrer=github_README) after reading the [user documentation](https://derivationmap.net/user_documentation)\n\n\n## Not your first time here: Quickstart for returning to an existing instance\n\n```bash\ndocker compose up --build --remove-orphans\n```\nAs a two step process:\n```bash\ndocker-compose build --progress tty\ndocker-compose up\n```\nOn DigitalOcean server:\n```bash\ndocker-compose up --build --remove-orphans --detach\n```\nor\n```bash\ndocker-compose up --build --force-recreate --remove-orphans --detach\n```\n\n# Software Requirements\n\n* Docker\n* `git`\n* `make`\n* a web browser\n\n## Software Versions\n\nBecause software is in Docker containers (for reproducibility), the versions of the Docker software you're using matter. The\nsoftware in this repo has been tested with\n* `docker compose version` yields \"2.34.0-desktop.1\" on a Mac Airbook arm64; \"v2.2.1\" on a Mac Airbook amd64\n* Compose file format 3.6; see \u003chttps://docs.docker.com/reference/compose-file/\u003e\n* `docker --version` yields \"Docker version 28.0.4, build b8034c0\" on a Mac Airbook arm64; \"Docker version 20.10.11\" on a Mac Airbook amd64\nSee \u003chttps://docs.docker.com/compose/compose-file/compose-versioning/\u003e for compatibility of versions.\n\n\n## Troubleshooting and development\n\n`docker-compose` instructions are from from\n\u003chttps://github.com/ChloeCodesThings/chloe_flask_docker_demo\u003e\nand\n\u003chttps://codefresh.io/docker-tutorial/hello-whale-getting-started-docker-flask/\u003e\n\ncombining flask, gunicorn, nginx is from\n\u003chttps://testdriven.io/blog/dockerizing-flask-with-postgres-gunicorn-and-nginx/\u003e\n\nnginx timeout\n\u003chttps://wiki.ssdt-ohio.org/display/rtd/Adjusting+nginx-proxy+Timeout+Configuration\u003e\n\n# Licensing\n\nUnless otherwise noted, all source code is covered by the [Creative Commons Attribution 4.0 International License](http://creativecommons.org/licenses/by/4.0/)\n\n\n# Contributing\n\nSee CONTRIBUTING.md for guidance.\n\n#EOF","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallofphysicsgraph%2Fui_v7_website_flask_json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fallofphysicsgraph%2Fui_v7_website_flask_json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallofphysicsgraph%2Fui_v7_website_flask_json/lists"}