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.post20190220.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f86a1f8e3980b5c84dd8442361e6d85b0c5bcc1297e1b66f9a05ce12cf30662 |
|
MD5 | 707efcb5a7cc992f47760ddb7677ff69 |
|
BLAKE2b-256 | d30ebaf7b3ce668c36d2dd04ce24ec02e82b4fe3e285895546a6df1a200c7c56 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190220-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 075fd505c193a6ce9c03b15f324e5ab03d993c0ddfdb5bae5e934b18eb9b071d |
|
MD5 | 6d3808154d26724c2a19c53fb59534dc |
|
BLAKE2b-256 | 7d36cdfcd975590f7b1956385822cda2528a213077d6355e470a634082ad23cc |