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.5.post20190509.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4981e375f6f2024617174dade00b1d47bfc8aeab84c1f2ed615d3b2055f37695 |
|
MD5 | 9fb5e47134db184616290d7e5a6aa516 |
|
BLAKE2b-256 | e1a1f267affda705306d0462e927554b27ae54f89a2a388f7497a913d243648b |
Close
Hashes for c2cgeoportal_commons-2.5.post20190509-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0527bb59d76c60d1971e067e00a11e40cf842fda1ad3bcdc2da1c19f06b39301 |
|
MD5 | 82a9644d697bebdfb70794bc8ab6ec45 |
|
BLAKE2b-256 | b607cacb7d6ff088305dbab8eff3aadd657d3d3619681580ae813e17e48dedaf |