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.55.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7661649227be702c1df07ea4efe02d15c2f2a98e9a372aef45a534f2a1824d36 |
|
MD5 | 249538214780078bc83f50f50007bace |
|
BLAKE2b-256 | 95a5a84829a7a66c6b9161e158ff4fa4644c257e6eb0e74fe7a6cd573cc418f4 |
Close
Hashes for c2cgeoportal_commons-2.3.5.55-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3c057f7a61c9fad5e799693ce054ee2f54c50d1132557d7788529dd144130fa |
|
MD5 | e7c246d0d1376cd8ca59044788731af0 |
|
BLAKE2b-256 | f10e7e6260676b7c543d73d7a12a499183d52c94f2abad5b572e60f25614d4c9 |