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.5.post20190510.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dde67dca7e5f22dab62ae9a80ff3f77e54f1908d85400c26e89d1cf0952f931e |
|
MD5 | 5ef71bf6dccc52071048435b44150f15 |
|
BLAKE2b-256 | c37c0de0e4cb18eed7786597db8b2ef95a33f6974f0fc1d0fb32c2da27b3a5c6 |
Close
Hashes for c2cgeoportal_commons-2.5.post20190510-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76e6c90aeb885fde470e114e2ddb4b8c567da2dccc69623911ef05f84b170899 |
|
MD5 | d50ed50e44b25c4246daba1e9ba5cf78 |
|
BLAKE2b-256 | 8a02f0afe734a9c706b7c5daf4d249ba25fc3e8cfcaf374d35abdc5dc18d44ef |