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.post20190111.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7a19bc1666c2d352afc86d45da898c3f24620e6281805f54f786fdb782195e4 |
|
MD5 | 40d94f79112a0091bb368be249479400 |
|
BLAKE2b-256 | ff81b244fda634639b492784b6d5bb13e0ca424b07de4f74bdd2cd25671a6291 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190111-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5c4897d9d808d2bed7453948b232f72ec05cf8c1eec85e92b5bdabc7bbacea7 |
|
MD5 | 88ff26b3393b63967d04fe73166d4780 |
|
BLAKE2b-256 | 64e972d52def59b2da62112fce80b08a752c349c7aa13d9d1cd00b1a5347e17b |