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

Uploaded Source

Built Distribution

ramp_database-0.7.0-py3-none-any.whl (92.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ramp-database-0.7.0.tar.gz
  • Upload date:
  • Size: 68.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.0.post20201006 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

File hashes

Hashes for ramp-database-0.7.0.tar.gz
Algorithm Hash digest
SHA256 5db0c825dfd04684713459ea96691ad4718d7956c0ef89f1d923ea9e1df1bd23
MD5 6425d7f7727841ca394fc02f7ed7c8a8
BLAKE2b-256 4aa093b003538aa4145058441ed377faa4cf4c367a0781a5002aa0b844fad70d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ramp_database-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 92.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.0.post20201006 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

File hashes

Hashes for ramp_database-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f20b0004a90c61c99bd134d40c0d63139e83e58f79af977f2f9bfa97b9af941
MD5 419ee792da39f36a9f0c375400756d72
BLAKE2b-256 36653bed234b2111cdd0736737b921da559b44cbf3c08285868e72b8d463a083

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