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.post20190404.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9ae3e0f4cf1edcf32414ad2a9867a7390262a587c1180e942043d26a38fe6b0 |
|
MD5 | b48fa31436d00e04c12e75404ee131e8 |
|
BLAKE2b-256 | 628c2bbe0801435ba98638ac8be873ef327f0368ca53aa7c9d63d8dd7a816bfc |
Close
Hashes for c2cgeoportal_commons-2.4.post20190404-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0d9fc0e4090912663880b4d4051c016bfd1c5fc02f73eb93b7cc5170bd87593 |
|
MD5 | cebe0b9c511102e1c6a144e5c7ed4527 |
|
BLAKE2b-256 | 39a78b7c72e69ee6a78b65eaf5dd64ee4dc1d2c25d0a2bc2751fad59fd178c15 |