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.8.2.tar.gz (71.1 kB view details)

Uploaded Source

Built Distribution

ramp_database-0.8.2-py3-none-any.whl (93.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ramp-database-0.8.2.tar.gz
  • Upload date:
  • Size: 71.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.8

File hashes

Hashes for ramp-database-0.8.2.tar.gz
Algorithm Hash digest
SHA256 9a452c35b64f68b2127b554853fcec9130b7cf0d1f1c54a94946ba6956602a21
MD5 16cf71628cb58260d513936ae6d63a34
BLAKE2b-256 9618631718ce39ba73223d71fb8bcb5298a4908ccb3a95e7975b121f75cb21d9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ramp_database-0.8.2-py3-none-any.whl
  • Upload date:
  • Size: 93.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.8

File hashes

Hashes for ramp_database-0.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 033885053545bc704c4acf98711647b2bff81cdcb0bcb0e13dfea8aa64d6f318
MD5 3b41c72e8425235e53fe2b90faad3d65
BLAKE2b-256 f1f3c8abab315cd8e454aae45b9084ba6c0b6423ae2689ac0c105c8773e610ed

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