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.post20190329.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92cd603994e7937e9ab019d3fd98b9da77620e9e1f072275b1ff4c6b2c111073 |
|
MD5 | 332b38189b81f93a0e48f65061c0e634 |
|
BLAKE2b-256 | 464fe211768a8ef70ad2550831b1a9c08c4d4dbc472ab8ad2fffcec021d1e80f |
Close
Hashes for c2cgeoportal_commons-2.4.post20190329-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 901a47502150cc357135ad23d70d44b19555af3fc2b4d69d90e67fb5dca73f30 |
|
MD5 | c445160067c1ade4ea28c5e6316f4d36 |
|
BLAKE2b-256 | 33dcc8e12c4c1e87772db315f780624ceba4bafe3b07672bd6cbe0984a78e860 |