Skip to main content

Database model used in the RAMP bundle

Project description

This package contains the ORM model for the RAMP database.

Set up of a PostgreSQL database

  1. create db directory and initialise the PostgreSQL database:

    mkdir postgres_dbs
    initdb postgres_dbs
  2. start the PostgreSQL engine:

    pg_ctl -D postgres_dbs -l postgres_dbs/logfile start
  3. create a user <db_user> and set a password <db_password>:

    createuser --pwprompt <db_user>
  4. create the database called <db_name> for that user:

    createdb --owner=<db_user> <db_name>

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

ramp-database-0.10.1.tar.gz (70.7 kB view details)

Uploaded Source

Built Distribution

ramp_database-0.10.1-py3-none-any.whl (94.4 kB view details)

Uploaded Python 3

File details

Details for the file ramp-database-0.10.1.tar.gz.

File metadata

  • Download URL: ramp-database-0.10.1.tar.gz
  • Upload date:
  • Size: 70.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for ramp-database-0.10.1.tar.gz
Algorithm Hash digest
SHA256 7b03a095b010f6eea67d151e885249119b8b46d0baef8576244f6ffc60620a45
MD5 0fc675ae77c8f474a5502bd1e3481855
BLAKE2b-256 6fbb15827b2ef11b708c5ac5ee7d7fe1aec12bdf9ce578386378098fa9cbeb72

See more details on using hashes here.

File details

Details for the file ramp_database-0.10.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ramp_database-0.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b3d950b4b4f13913032e3e0c0fafc612a264818ea17197ac6ffa27e96cfccdcd
MD5 415de7944c42965edfa2656fdb9af572
BLAKE2b-256 e4566e742f470b340bc251213628473f789db889cfeeced1bd9fab662b46cff1

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