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.4.post20190426.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67fdb2415879beb9399c57a9f5c204033677b8007b10e8e39b8d51227cc70837 |
|
MD5 | 320ac3f26298a08c7225ea56776842be |
|
BLAKE2b-256 | ebc217fd2a9858a0186a243b12a7d4aa86b6975957b918113a3604296f623c27 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190426-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d4464001f2eb961fc32eb273ae189feb36aa2f22f247d692f0cc61bf256113c |
|
MD5 | 06ed074b2868c3196f8ba3debce38ea0 |
|
BLAKE2b-256 | b2bc94c26c1c0a9445f0f589e3f10170ef694162a6c2b1659ce855a76a5b8265 |