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.6.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | de21d97b62bfaa2497c789edb5941af2ee542cbf77e2912a28b20f9c8cd74194 |
|
MD5 | 9f1085874c89f54a2f3304cab8e0ea5f |
|
BLAKE2b-256 | 0eb21d3f848f6ed5013a6e1919f4e79f5b5fab1900b927a47f0e2612e65fc75d |
Close
Hashes for c2cgeoportal_commons-2.3.6.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad8dd53ec8d8e1c5776f1f1de40700f947718210a39efb748a78a09b9d684eca |
|
MD5 | 3bb29a54d37ca9c504318cec6092e0eb |
|
BLAKE2b-256 | 3bbb50da221a8a32810de9f58a52be4f19fbfe98264d05907fd8e55104490f75 |