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

Uploaded Source

Built Distribution

ramp_database-0.9.0-py3-none-any.whl (94.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ramp-database-0.9.0.tar.gz
  • Upload date:
  • Size: 71.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for ramp-database-0.9.0.tar.gz
Algorithm Hash digest
SHA256 e375c39bed5df0c2568b61b1641491b33eb4fa2f19296efabe817ec9fdb4cf69
MD5 b65c8d7b1b2140c83fbffd20305937a0
BLAKE2b-256 352a3a030d56bd786ba9440e861ed2ef17bf666e54ee2d8361ee387b3d4f130a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ramp_database-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 94.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for ramp_database-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ca60a4835a26076b154816915029355e11bc971cd197849b9f8206ba71cdd752
MD5 8d69043afe93572b43ec33932d9709f8
BLAKE2b-256 6d377cd83a33c3b53f508c7f531bb7ac75f117d6c12dd2d158412d9287ae5ffa

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