Webserver for robot framework and python assets documentation
Project description
rfhub2
Introduction
RfHub2 is an opensource project aimed to provide nice and easy way of collecting, browsing and sharing documentation
of existing keywords written in RobotFramework and python. Built with Material-UI
and FastAPI, served by Uvicorn.
Project is inspired by robotframework-hub
created by Bryan Oakley and can be treated as its spiritual successor.
RfHub2 is hosted on GitHub, where sourcecode, current issues and additional documentation can be found.
Installation
As python package
latest version can be installed from PyPi:
pip install rfhub2
or directly from source code:
python setup.py install
With docker
pull docker image with SQLite:
docker pull pbylicki/rfhub2
or PostgreSQL:
docker pull pbylicki/rfhub2:postgres
Starting application
Run application (web server)
To run with default (SQLite) database:
rfhub2
To run with PostgreSQL database:
RFHUB_DB_URI=postgresql://postgres:postgres@localhost:5432/postgres rfhub2
To run application using docker image with default (SQLite) database:
docker run -it -p 8000:8000 rfhub2
To run application using docker image with Postgres database:
docker run -it -p 8000:8000 --network=host -e RFHUB_DB_URI="postgresql://postgres:postgres@localhost:5432/postgres" rfhub2:postgres
Populate application with data
To populate application running on localhost:
rfhub2-cli ../your_repo ../your_other_repo
To populate app running on another host, with non-default credentials:
rfhub2-cli -a http://your_host:8000 -u user -p password ../your_repo ../your_other_repo
To populate app but to skip loading RFWK installed libraries:
rfhub2-cli --no-installed-keywords ../your_repo ../your_other_repo
To preserve previously loaded collections and add new ones:
rfhub2-cli --no-db-flush ../your_repo ../your_other_repo
License
RfHub2 is an open source software provided under the Apache License 2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file rfhub2-0.5.tar.gz
.
File metadata
- Download URL: rfhub2-0.5.tar.gz
- Upload date:
- Size: 546.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74ee2c176d4d34e26ea3a635bd5f510932f608f48e102ac2ceb0becba8cd3581 |
|
MD5 | 9ec75c6797c31bbecae8d49e61327a0a |
|
BLAKE2b-256 | ec9faf9d37f5e8f50cbf67d87aaf9dfebf273080004be4c17a47f07e0077e403 |
File details
Details for the file rfhub2-0.5-py3-none-any.whl
.
File metadata
- Download URL: rfhub2-0.5-py3-none-any.whl
- Upload date:
- Size: 568.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf556030417e8a0f8ea04d15c2498d46951767281eae37788687bd762dd295d2 |
|
MD5 | 2587ceb841d90d455b82c1f5a73400d8 |
|
BLAKE2b-256 | c724e9ca845fcf3f3c1f401115fec130348ceb026836844af1c664c5638ee314 |