Skip to main content

c2cgeoportal commons

Project description

c2cgeoportal_common

Checkout

git clone git@github.com:camptocamp/c2cgeoportal.git 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';"

DATABASE=geomapfish_tests
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/initialized.py 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 2.5.0.100
Filename, size File type Python version Upload date Hashes
Filename, size c2cgeoportal_commons-2.5.0.100-py3-none-any.whl (115.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size c2cgeoportal_commons-2.5.0.100.tar.gz (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