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.post20190325.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 456c87240b16367cd679aa0cac4a83abecf7d107bbca3257a553a5e1418d9cad |
|
MD5 | d15fa371888f9a528d860fab6b79d160 |
|
BLAKE2b-256 | 3d39f30e2e0539348d4feaafab3de670435fadca28ef2a9d1b085cc5113f0b2f |
Close
Hashes for c2cgeoportal_commons-2.4.post20190325-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 721c78ea5c90ebe5bb5f83993ae2393a80e93831e6bf9fc6941ed04961c26539 |
|
MD5 | fb6284cfd85536ac389ea0ea6bb4c3d6 |
|
BLAKE2b-256 | ea861a3272696b9010e4d732843b05ab5c010543b594a51771a2514ff139a4f5 |