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.5.post20190506.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3da51af486ecc44b9689677310cb4be3a645c506127d7ff69a98614ed9da78aa |
|
MD5 | 2bc23c8da4436acca1d24acfaa6a62c4 |
|
BLAKE2b-256 | b520b7951c1811cd761c794afd5f7e32dc1472a2caed56e65f76f529976cf514 |
Close
Hashes for c2cgeoportal_commons-2.5.post20190506-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b87fa7929366f1f73b1acc21c7d4190aad996cdd0e82576085ad048b70cb5a8 |
|
MD5 | 3fe1a3b5e444840519d3c020ae69739e |
|
BLAKE2b-256 | 1173b19127107f24a77e8ef55283e5a48e0e37432811cee116ee8caebcef7430 |