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.

Source Distribution

c2cgeoportal_commons-2.4.0.dev11.tar.gz (32.8 kB view hashes)

Uploaded Source

Built Distribution

c2cgeoportal_commons-2.4.0.dev11-py3-none-any.whl (92.1 kB view hashes)

Uploaded Python 3

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