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.post20190118.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d80c4144d5b944453da18e50318c80013f588aa508650d2427d7a20e0b39432d |
|
MD5 | e9c6f48f0c86e54113cc3121cc654ea7 |
|
BLAKE2b-256 | 66078aa311ae128736d818c35990b31d4f2c7e54413b84e761daafa5295fd280 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190118-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5081f30b7b89621235cd84add0026b72cdbe1882c1a99c17b12dd807af763b9 |
|
MD5 | 15d0accb18ccc5a1096d25c63cb4fb35 |
|
BLAKE2b-256 | 284d62bdfaa9c358aca4a601a0597be093353c4249c8b4200ad4f8ee9a467431 |