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

Uploaded Source

Built Distribution

ramp_database-0.3.0-py3-none-any.whl (90.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ramp-database-0.3.0.tar.gz
  • Upload date:
  • Size: 65.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0.post20200127 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.6

File hashes

Hashes for ramp-database-0.3.0.tar.gz
Algorithm Hash digest
SHA256 8229f968c9911cb0f462ff47f5c566a698b0d162350491f37d3e190a5e4f2d33
MD5 3be2e355556a8dcece52407440ad97d6
BLAKE2b-256 4bdb5645370f82cd0654de08fb9d038e744947e805180c2baf666e27afc8b0e0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ramp_database-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 90.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0.post20200127 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.6

File hashes

Hashes for ramp_database-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b3c2df7b8a54818bc14953b1b5742fe3d32e855e9a3f3c76ebccadab09851666
MD5 37d7288bc047f70b0ae50b903de81e30
BLAKE2b-256 d647fc3243e5e3968b6159593fc98b423d3acb9bfc894ab8b959e0c6fe2cfc4b

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