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
```
## 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
Built Distribution
Close
Hashes for c2cgeoportal_commons-2.3.5.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a6de7da80fb6835740b9aa6f678720c28d58f95743b49a4531bb9552e26a414 |
|
MD5 | 2f58141a062951299dc635bbdb24582f |
|
BLAKE2b-256 | aaa16efda67cf6df5e62cdfe5f22fd245891d3ec71cbfc81142f661f87b7d065 |
Close
Hashes for c2cgeoportal_commons-2.3.5.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c34d335d8da374672c092691efea313bf7c1e99cc1cbbe93d09d8fbd75e86f31 |
|
MD5 | 57374d10a00379dfe19a7381b34ccf01 |
|
BLAKE2b-256 | 4224e78a21cd1a1c18047b68aa737dca762d48f355ebd6067cdb326222d70972 |