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.post20190322.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a44f71d7b1ad2668cb9086cf8a81c9f11e72efd2e2dca1570fff595e6d560af3 |
|
MD5 | 792eff4aa3d9957be877f4282baf9ac2 |
|
BLAKE2b-256 | 2df8440dd6d0228b9d3672e8bd5580f36606748c2997304cb27a6fcbce15be45 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190322-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cf62990760b63a269be18a6205cba9e9bf0ae056cc89aef01b882ddd603dcf1 |
|
MD5 | 1bd692e01ff77a00e30fc425c0799bfb |
|
BLAKE2b-256 | eaf3de5d67a9dc09cca8c9d42ac6495f11a94a99824d392ad6c125d48e67e60d |