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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 081b39804dbbc64196eaf52c9a0135219a693d1fdcc17832873cc700626ff735 |
|
MD5 | 2da8bb0359a0d2723a12264fc8cb4acb |
|
BLAKE2b-256 | b260596285f6e12062acde5975c4190f1cb8060040887741fdcc4e16a7d83ed2 |
Close
Hashes for c2cgeoportal_commons-2.3.6.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 251e3d8401084e32f4d09aa9a44f7944d4227d43452f0733b60c4b1ed1223fb1 |
|
MD5 | 22c27743632588d6adcbc8d02c933fad |
|
BLAKE2b-256 | ef23ae8acd89812cf7ae70e20817e71bf192d9257c2a330d7d362c4566764800 |