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.post20190319.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2f3e166b350b108c4fbd2a5b5ee94cbc498d420918b6f9464bd820fa99effd7 |
|
MD5 | e96f8e65c4bd157eae40e4ca2211fed1 |
|
BLAKE2b-256 | f50a1ed109d86d05470891e8f86150ac8ec0a60af042a8e27912ac54eaea02d2 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190319-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bb547963bd8589185edbb33fca089a1fb6c62f65b3e2598c2805d3c55bce481 |
|
MD5 | ab2e662d788f49ed155db0e60d2db177 |
|
BLAKE2b-256 | 22591245a436b8926abbb2e8da9c308584122a7a93c35755458288bfd306ecfd |