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.5.post20190502.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59d8016be8cbfab678ec385aafe1ab9253e8a6a6e2595d7fc8d05bb6e3be4165 |
|
MD5 | 64e5a6a8d5c283018d838379de8a314c |
|
BLAKE2b-256 | b451442aecfa0031ba98bc690b1128ac81aed4f61b2ca0a60baf935464742cf8 |
Close
Hashes for c2cgeoportal_commons-2.5.post20190502-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b840d34767eb108c5ac0f3e5150d439f7b3a774f65dfc4af4ae72e581f945412 |
|
MD5 | b88077aa43ca1037de68546f9f8ba519 |
|
BLAKE2b-256 | d431c169b0ae1985f2d13dd85eeae981b4cc93e31242ae37638a58d18f831947 |