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.6.16.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d16bf4c17c3587e3eeaedcc1caf8ca158597af8489e12ba77f8786dbe01f66d |
|
MD5 | aaeca19f2093287d7eb278175b195f04 |
|
BLAKE2b-256 | cf7fef7ea4c938291fb0e2115f67aa2d126375b02e01614855c031d8cc2ac3c0 |
Close
Hashes for c2cgeoportal_commons-2.3.6.16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4bd08cb7a0d4d587f3e78a933032f4ba7a54a0c8924266c469982cbc6c921e0 |
|
MD5 | f4dd3c6407e52f12cac95cc9cf2e5303 |
|
BLAKE2b-256 | 7d454638c6e45a7af5718460719157e40fd66dcea0fcfa82f7d905030d545260 |