Skip to content
This repository has been archived by the owner on Jul 8, 2022. It is now read-only.

DemocracyClub/ResultsRecorder

Repository files navigation

resultsrecorder =====

Local database setup

  1. Create PostgreSQL user with id matching your UNIX username:

    $ sudo -u postgres createuser $(whoami) -SDR
  2. Create a database owned by this user:

    $ sudo -u postgres createdb -E UTF-8 -O $(whoami) resultsrecorder
  3. Check we can connect to this database:

    $ /usr/bin/psql resultsrecorder
    psql (9.1.2)
    Type "help" for help.
    
    resultsrecorder=> \q

Syncing with the live site

Sync database:

$ ./manage.py sync_database

About

No description, website, or topics provided.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published