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

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.post20190510
Filename, size File type Python version Upload date Hashes
Filename, size c2cgeoportal_commons-2.5.post20190510-py3-none-any.whl (101.6 kB) File type Wheel Python version 3.6 Upload date Hashes View
Filename, size c2cgeoportal_commons-2.5.post20190510.tar.gz (35.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page