Skip to main content

CLI tool to manage sero servers

Project description

Seroup

Seroup is a CLI management tool for sero servers, allowing you to easily upload and manage site on this server. The last version of this tool is guaranteed to work with latest stable release of sero server.

Table of Contents

Installation

To install seroup, use pip:

pip install seroup

Usage

After installation, you can use the seroup command followed by various subcommands.

seroup <command> <directory (default: current directory)>

Commands

Command Description
init Create default sero.toml in specified directory
enable Enable site
disable Disable site
download Download full site as zip
upload Upload site
teardown Teardown site
ucors Update CORS settings without reuploading site
registration Register a user in sero server

Configuration

The tool uses a configuration file named sero.toml to manage site settings. Below is an example configuration:

[server]
url = "http://mysite.ru"
subdomain = "blog"

[cors]
origins = []

[credentials]
login = "clowzed"
# For security reasons
# you'd better keep this empty
password = ""

Configuration Sections

  • [server]: Contains the server URL and subdomain.
    • url: The base URL of the server.
    • subdomain: The subdomain for the site.
  • [cors]: Contains CORS settings.
    • origins: A list of allowed origins for CORS.
  • [credentials]: Contains login credentials.
    • login: The login username.
    • password: The login password.

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

seroup-0.2.6.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

seroup-0.2.6-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file seroup-0.2.6.tar.gz.

File metadata

  • Download URL: seroup-0.2.6.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.5.0-1025-azure

File hashes

Hashes for seroup-0.2.6.tar.gz
Algorithm Hash digest
SHA256 b493a72f154bd31ba3e3a48197f6b8a45dd2fff9871139d2992c394c5ca9598a
MD5 44919e90b04deacfae3b9ff093c351d9
BLAKE2b-256 2984e8765ba06a15e124c77ff2bb10b217cecedbdb24be14c90220de1d42b862

See more details on using hashes here.

File details

Details for the file seroup-0.2.6-py3-none-any.whl.

File metadata

  • Download URL: seroup-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.5.0-1025-azure

File hashes

Hashes for seroup-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 f6706e7a62bccb13c4f02603d3e5d7b98fa6b97e11f7ffdc46e3d2951fafbc41
MD5 5fd194854d75c97bf75411995dc38278
BLAKE2b-256 0ba7aa3dcab268954fe121e005864a8595e84029bb6af4590e5eec30e3de7eb3

See more details on using hashes here.

Supported by

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