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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9294728f72652f5f68c2c452bad1190cbd825399b0e4901d5f5c196a9fa5312d |
|
MD5 | daf896d7f79bb02f1d97b138f915e87f |
|
BLAKE2b-256 | 27dd0157dc9713849612e4138293cc8f87482637e07494f2c2895022e99c9c51 |
Close
Hashes for c2cgeoportal_commons-2.3.5.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89643d0f2be9f6119413ab6aed635c4f3e195778e188995e507c3ec72a4b7f94 |
|
MD5 | 7d294367c87b335d55cdc44ec8e745a5 |
|
BLAKE2b-256 | ac5c7b6f3f8956940441c40098228b337bb8cbefb6b731a92ee956a5a3ab0881 |