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.post20190408.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72dd073b5f7bb02edfccc9e17ce789fb86b9c0a2d61b46503c432ad9f889f4d0 |
|
MD5 | c5fdec1d1d20e1fba91273d0977487be |
|
BLAKE2b-256 | c664d1a6eaef6dbc6e47e9ee46a869b064dd6de0e6adbd1e968f926601247987 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190408-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5075be725cfe0a0da8f000a83c5d368b825cd595f832ea5fd95a5c2ec9c8c4e0 |
|
MD5 | c5bf3cf9676a299ef2642494e34ef02f |
|
BLAKE2b-256 | d0689e101aa9d5bb6c863369c72ecd6150555bb3eca9325a6eb2c2d24e739ea3 |