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.post20190304.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3ef466c3abe0c37f8ef8ef4604de37a74f8816b1470b8d4cdecc142c152080d |
|
MD5 | d3c05d9d21f88c2cf1ca2521cc30d26c |
|
BLAKE2b-256 | 3d84526bdcf8d9e1c01cfc131bbf2b45ca46a7f05dc2327ce4eb50ff7cef45b8 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190304-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d00d8449b693e69ce8b8ceac1602fbbd76818428f9864b69b0484861f913c5a |
|
MD5 | 437819d98f9fbd7e2b7e80a665efc578 |
|
BLAKE2b-256 | 4a59fde6255c99c616c34286f4a0fc72a294680d7a46bb51e41804d41a590ea1 |