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.post20190215.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 889c71b18a67a6cc01f344de580241a0a752762a8aa6f08e6d358f837a80f787 |
|
MD5 | 08f7d80e7be73a6586e065534c607c24 |
|
BLAKE2b-256 | c69e31347dc487a33f0e6c19c362e92f96574a8ec5a902b5c91bbf50ce5b80a0 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190215-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33724087a0eabccb76d0a7c5a3922659250aeb340dcb8e0b3d6550622ec38b62 |
|
MD5 | 0caf3f93ec245298db818b4d3d07e5cc |
|
BLAKE2b-256 | 14108dd61e6bd95643eaa7c9f8aa10be02dd29e6ed5bbdae5857eef92c291397 |