Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/allofphysicsgraph/ui_v7_website_flask_json
version 7 of the Physics Derivation Graph UI: a flask-based website with JSON backend
https://github.com/allofphysicsgraph/ui_v7_website_flask_json
flask graph json knowledge-graph physics python python3
Last synced: 20 days ago
JSON representation
version 7 of the Physics Derivation Graph UI: a flask-based website with JSON backend
- Host: GitHub
- URL: https://github.com/allofphysicsgraph/ui_v7_website_flask_json
- Owner: allofphysicsgraph
- Created: 2024-05-25T10:52:06.000Z (9 months ago)
- Default Branch: gh-pages
- Last Pushed: 2025-01-07T02:19:55.000Z (about 1 month ago)
- Last Synced: 2025-01-07T03:33:15.655Z (about 1 month ago)
- Topics: flask, graph, json, knowledge-graph, physics, python, python3
- Language: HTML
- Homepage: https://allofphysics.com
- Size: 10.7 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
This repo is the source code for the website , aka .
# Files not in this repo
* `certs/dhparam.pem`
* `certs/fullchain.pem`
* `certs/privkey.pem`
* `.env`The `certs/*.pem` are generated by Let's Encrypt
The `.env` file contains three lines,
```bash
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
SECRET_KEY=
```# How to use (for the impatient)
git clone https://github.com/allofphysicsgraph/ui_v7_website_flask_json.git
cd ui_v7_website_flask_json/flask/
docker build -t flask_ub .
docker run -it --rm -v`pwd`/data.json:/home/appuser/app/data.json \
-v`pwd`/logs/:/home/appuser/app/logs/ \
--publish 5000:5000 flask_ubSee [developer documentation](https://derivationmap.net/developer_documentation?referrer=github_README) after reading the [user documentation](https://derivationmap.net/user_documentation)
## quickstart
```bash
docker-compose up --build --remove-orphans
```
As a two step process:```bash
docker-compose build --progress tty
docker-compose up
```
On DigitalOcean server:```bash
docker-compose up --build --remove-orphans --detach
```
or
```bash
docker-compose up --build --force-recreate --remove-orphans --detach
```Because software is in Docker containers (for reproducibility), the versions of the Docker software you're using matter. The
software in this repo has been tested with
* docker-compose 1.29.2
* Compose file format 3.6
* Docker Engine release 20.10.11
See for compatibility of versions.docker-compose instructions are from from
and
combining flask, gunicorn, nginx is from
nginx timeout
# Licensing
[Creative Commons Attribution 4.0 International License](http://creativecommons.org/licenses/by/4.0/)
# Software Requirements
* Docker
* a web browser# Contributing
Before submitting code via a pull request, please open an issue (feature or bug) and describe your question or intent.
Python code is formatted using Black.