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.post20190328.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e65011d57863b67b6bc5977ac5e3675f58bbda532e576e4a9daa842083b82b5 |
|
MD5 | df8cd2f070b6ba1fc41fda1c3ffea331 |
|
BLAKE2b-256 | 9f16aea1145edafa73636ab5091c930c2053576c804159120ad73e0916a98b6a |
Close
Hashes for c2cgeoportal_commons-2.4.post20190328-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d3d49a480814b6a9631ff3bd0bbd36ce8bd5c07f34ea59945e48ed1e3c6897b |
|
MD5 | 4ef80a6ffd4786a92e35e312ec1b5e1b |
|
BLAKE2b-256 | 9da8c104439f756c7d177f332af0ca4c32cc3b31efc8ed05ce4c7da16f6f5361 |