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.0.dev19.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 344a27b9922f83b1cb4ac90c415e7278c19fbe0bd0c832e00a8d199ddaf51d1b |
|
MD5 | c831372a1b538d3b76bf2b2410b85e46 |
|
BLAKE2b-256 | a59d01155a444b8724ddd25dabef00420a5a49445cd222f39ab40708d0e7d719 |
Close
Hashes for c2cgeoportal_commons-2.4.0.dev19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c7613e0049c28b8c209b088ba8c25b92ca08e982a1871a63d4ae4e017ae6437 |
|
MD5 | dff7ac293f415f53c707593c398d8d94 |
|
BLAKE2b-256 | 71017b106870a300767589294f8330b0523659c53ea842e2e95f45256901e318 |