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.3.5.32.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f340b20247964ff67d541767d74bc59786772fd1b4e56f7d5d65bbe8f82918e |
|
MD5 | 821cc6bccc6cd2c25bc628d80c440f49 |
|
BLAKE2b-256 | 5ac83d73ddc80ff60a1d2091df9f321877b80cd640ef56c74b41456805d25f6f |
Close
Hashes for c2cgeoportal_commons-2.3.5.32-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 109de0ecfcec1ededdb71242ca6c56e85ddcdedd2125eee491be1c5f43cbe6dc |
|
MD5 | 3722174a88810882d4c6affde0914184 |
|
BLAKE2b-256 | 59b2448dfc91a091b76c7c0bcf500aabd7f4e51fc9f080f96cf9b2c6a9676749 |