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.post20190218.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23b4446f0a7193a46cc904e504623bd35435332d622b2a97931b951683a16ff8 |
|
MD5 | d27c5f0a91d4299347a460ec03dcc201 |
|
BLAKE2b-256 | 2207fb803b3e5686efbdc32aec9d6d7f052df6be90718a18d342e17395cac038 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190218-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a14a3b1d5b801f6b95436e75d887c150011c93db898416d589cac575cd339a5 |
|
MD5 | 98ea35810743da6cc14dc3c2dd5fc134 |
|
BLAKE2b-256 | cdafb267ea7a633ccd8ec9262cb0ca3248a0466661bbdc7549cce2851dc56d76 |