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.52.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1008083b1685c1a5a23f70d49b34606e60c404e810623bd917641de78390cde |
|
MD5 | c54ed1aa42d5d8684e48c87734b13f5d |
|
BLAKE2b-256 | 6ca9c8fdec1080d44945de3c956b22b16fd35749f05d5646d7ad16bec3aeaeba |
Close
Hashes for c2cgeoportal_commons-2.3.5.52-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67a52dfedf31e112b98416d7f552912d36927c36be3ead95cdeb3f57ef5e94da |
|
MD5 | 8d26087e2761e91def7096e7a18f514b |
|
BLAKE2b-256 | 65e19705b7d886dc0a942ae331a1eaf1e589787938fa8c494db275b928cb7d67 |