Skip to main content

CLI tool for static site generation from GAMS5 digital object collections

Project description

Poll-In tool

CLI tool that polls / pulls-in ("poll-in") digital objects from a GAMS5 project and performs static site rendering. (Informatics: polling-concept) Supplies a development workflow for GAMS5-based web projects.

Meant as replacement for the gams3 "gamsdev" development workflow.

Basic usage

  1. Have a running GAM5-API (OR external)
  2. Clone or init project files
  3. UV setup
# 01. Setup project files from templates: https://zimlab.uni-graz.at/gams5/projects/project_template/gams-www
# 01b. Install uv (python package)

# 02. Clone pollin tool
# 02b. uv sync
# 02c. Start virtual environment (venv)

# 03. Configure pollin tool via config file (pollin.toml) in template project folder

# 04. Use pollin tool from venv for development
# (point to project folder with config file)
pollin dev "C:\path\to\project"

# for production use
pollin build "C:\path\to\project"

Staging

pollin stage "/path/to/project"

Production

# use build command to generate the production files
pollin build "/path/to/project"

Deployment

  • use the -d flag to deploy to staging or production envrionment
# staging deployment
pollin stage "/path/to/project" -d

# production deployment
pollin build "/path/to/project" -d

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pollin_tool-0.1.0.tar.gz (95.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pollin_tool-0.1.0-py3-none-any.whl (41.0 kB view details)

Uploaded Python 3

File details

Details for the file pollin_tool-0.1.0.tar.gz.

File metadata

  • Download URL: pollin_tool-0.1.0.tar.gz
  • Upload date:
  • Size: 95.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.31

File hashes

Hashes for pollin_tool-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ddd418e3054f7dc1629c1cb6659a2e213da876321a3dda023c4ac971f8065f84
MD5 927b85b323133615816da0c51a6ccb2c
BLAKE2b-256 76457404c4543c5974611766e8ae788aefc1446cf6020b130713afc4f5a57d52

See more details on using hashes here.

File details

Details for the file pollin_tool-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pollin_tool-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4fdfedd7aeb1889ef3e3c85b0fc757c4784832de69bdd8528fdfe3ba296392fe
MD5 dcff95963c0347862cc28324f3dcf3b6
BLAKE2b-256 557506a53bdd3c7b73bbba902fb63ad76ff00eb9316e71a0b38960f86d7b921e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page