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.5.80.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0abc9f9e0cb774c93e61c2892e68e574452c55ecd3ab55042adfe33a5166e28d |
|
MD5 | 5499a91e6a148370041ca35de303d5a7 |
|
BLAKE2b-256 | 72865fc66aed31d2a45f64cf56705bfc0f84661a4d6b4fc0de88d812b37ab470 |
Close
Hashes for c2cgeoportal_commons-2.3.5.80-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b0359b3b865c741f2436221e124f78882b2a47b3715dcd229d048ee8b3269b4 |
|
MD5 | a31654f5043122ca026a4d5128e7ec47 |
|
BLAKE2b-256 | 9a812f64a1f4219968c325d8c9ca9b886fdcf9e35ec7b84888dc01f97ce2bac6 |