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.post20190312.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83800c8fb347b02a36d440cf09b26a790f1057942cc001019051a2852a9c1459 |
|
MD5 | c8beb7396ea638e2dee785740161b115 |
|
BLAKE2b-256 | a5624f1d52042d88ea97344d69472d78137e179b77d1383992be5578d272636f |
Close
Hashes for c2cgeoportal_commons-2.4.post20190312-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75e4e9897f4c3af663a5fdf89a9febc8e7d4c46f80463659ef9142286df08026 |
|
MD5 | b95a9d9e65c350f03bfcf18575572019 |
|
BLAKE2b-256 | 6c49171a9b2e03b9e62d0116a552eb8a68ce18c6f9cce68b7e7ee6670f935640 |