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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1c1e3f9772709d66b1aef0aec35621281e0d2d3ba419a7bf9717b859e2eb048 |
|
MD5 | 695d9bf3d03092816fc9a63e6546f372 |
|
BLAKE2b-256 | c4a65b056a4d40c66eeb4ccb99bd8c313ac40f191739030a7722f40351d6d8b6 |
Close
Hashes for c2cgeoportal_commons-2.3.5.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83e72b68de6cb22d469bf9fad1f664aaf28f54fa66aaca321486f5e36aa87056 |
|
MD5 | fa7c0b82482b9f0ab38f432fc66a7acc |
|
BLAKE2b-256 | cf36995eb5bd0459f2ef69b307c83abc4ac4400dce6e36236183b741211528e2 |