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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ramp-database-0.2.1.tar.gz
  • Upload date:
  • Size: 65.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.4

File hashes

Hashes for ramp-database-0.2.1.tar.gz
Algorithm Hash digest
SHA256 4e63f3090548220e5b4c6dae70b71072765e7bb2dd0fa1778085f77eafd04b47
MD5 cd4cc462000662b0760ec01038a5c7fa
BLAKE2b-256 a454ce3dd3cb7bb3840e3c5b1791e97e689b23ebada72855e3ea8edd3ce663ed

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ramp_database-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e81cf469be03738424f5196240c600750f3600349c819b9973338c5ecc3f993a
MD5 ff0430b427b1f297f6e29cf4e77676ca
BLAKE2b-256 10777fe43ccb2b3df2dfe00a4d96733c2d9ee74caa52119c61f4e853d120c89f

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