Skip to main content

c2cgeoportal commons

Project description



git clone cd common

Create virtual environment

make install

Set up the tests database

sudo -u postgres psql -c "CREATE USER \"www-data\" WITH PASSWORD 'www-data';"

sudo -u postgres psql -c "CREATE DATABASE $DATABASE WITH OWNER \"www-data\";"
sudo -u postgres psql -d $DATABASE -c "CREATE EXTENSION postgis;"

use common/testing/ to create the database (development.ini at admin side)

## Run the tests

make test

Project details

Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for c2cgeoportal-commons, version
Filename, size File type Python version Upload date Hashes
Filename, size c2cgeoportal_commons- (115.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size c2cgeoportal_commons- (37.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page