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.1.dev4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e9d9a8d09c9ad60c9c823bc60359637614389161e3da27ff9dad4a0afbcf5a9 |
|
MD5 | 83d1827ec9504faff429faf3ea72f0ac |
|
BLAKE2b-256 | d557c123ad1b9a176484d2c1264a082bfda67a379e0300873139d5320cab143d |
Close
Hashes for c2cgeoportal_commons-2.3.1.dev4-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58ce2d9af147d959e32489b615471bc73b5e2bef285dcbeabdbdc081717f34c9 |
|
MD5 | f8b4b0046588cae5a97839dd1efbc609 |
|
BLAKE2b-256 | 657203716b77c4fc6748b5e478a2fa8d54684c60d271524405e31d0ebf0f950e |